Filter files

We let you reject, or direct files against different encoding Steps.

The /file/filter Robot directs files to different encoding Steps based on your conditions.

What can I do with this?

Our /file/filter Robot can be used in combination with other Robots, to create powerful workflows unique to your use case. For inspiration, here are example scenarios, with explanations and code for all platforms, that you can also try live on our website:

The /file/filter Robot allows you to decline files that are smaller than a certain size.
In this demo we reject videos based on duration and size. When using the declines parameter,...
This demo showcases how to resize all incoming files, in order to destroy malware inside of...
Our /image/resize Robot allows you to set a custom background for resized images. By default, a...
Our /image/describe Robot allows you to easily detect objects on images. It can return a list...

And a few more:


This Robot supports parameters such as accepts, declines, condition_type, error_on_decline, error_msg to influence its behavior. Read all about the technical details in its docs.

Blog posts

We wrote the following posts about the /file/filter Robot on our blog:


Transloadit is a SaaS with a subscription model.

Our /file/filter Robot does not count toward your Plan's data. For $49/month you run as many files through our /file/filter Robot as you like.

You can change plans at any time. More info and available plans on our Pricing page.

Don’t just take our word for it

  • “I'm not usually one for fanboy-ism but Transloadit is one service I would recommend without hesitation. Their product and customer support is outstanding.”
    Dave Perrett, CTO at Shuttlerock
  • “Having a solution for both uploading and transcoding has been a godsend for the current scale that we are at five years after first choosing Transloadit.”
    Jon Wong, Engineer at Coursera
  • “Using Transloadit saves development and maintenance. Being able to focus on our product instead of reinventing the wheel cannot be understated.”
    Matt Sumner, Developer at thoughtbot