NewStorage totals that load straight away

File upload and image resizing API

Upload anything. Serve it everywhere.

File uploads, image resizing and video streaming behind one API, for web and SaaS developers. Upload a file, get an ID, serve any size or format from a URL. No buckets, no image pipeline, no ffmpeg.

Free plan, no card. Running in production for years.

Fileboy at a glance

  • One API

    Uploads, transforms, video and webhooks share one key and one dashboard.

  • Edge cached

    Every transformed version is cached after the first request, so repeats are instant.

  • Stream ready

    Upload the original and get HLS and DASH, a poster and a player to embed.

  • Yours only

    Signed URLs, expiring links and private videos keep files where they belong.

Try it now, no account

Upload a file and change it from the URL, right here

This runs on a real Fileboy app. Drop in an image and watch it come back resized, recoloured or converted.

Loading the live demo… or try it on its own page.

Why not a bucket

You could build this. You would rather ship your product.

File handling looks like a weekend job. It turns into a bucket, a policy, an upload signer, an image worker, a cache, a video encoder and a bill you cannot predict.

Doing it yourself

  • Set up storage, permissions and CORS
  • Write and secure an upload endpoint
  • Run an image service and a cache in front of it
  • Run and monitor video encoding
  • Pay for compute while it sits idle

With Fileboy

  • Paste your public key into the uploader
  • Store one file ID per file
  • Change size, format and quality in the URL
  • Upload a video and get an HLS stream
  • Pay a flat monthly price per app

What you get

Everything between “choose file” and “show file”

Six things you would otherwise build, test and look after. Each one works from the first request.

Uploads that just work

Drop in the browser uploader or the React component. Progress, large files and signed uploads are handled. You get back one ID.

Resize with a URL

Ask for the width, crop, format and quality you need in the image URL, add your logo or a text watermark, or get its main colours for a placeholder. format:auto serves AVIF to browsers that take it: about 30% smaller than WebP on our test photos, at the same quality. Save a chain as a named preset and change every image that uses it in one place. Fileboy makes each image on the first request, then caches it.

Video, streamed

Upload a video and get adaptive HLS and DASH streaming, a poster image, captions and a player. No ffmpeg server of your own.

You decide who sees what

Signed URLs and expiring links keep files private. Scope each API key to its job, list the sites allowed to use your public key, and scan uploads for malware.

Folders, metadata and labels

Nested folders, metadata and saved searches make files easy to find. Labels give a file a stable name, so you can swap it later and roll back in one click.

Webhooks, not polling

A signed webhook when a file is uploaded, a video is ready or a scan finds malware, so you never poll. If your endpoint fails you get an email, and can replay what it missed.

Transforms in the URL

One original. Every size, crop and format you ask for.

Change the URL and Fileboy makes the version, caches it and serves it. The second request is instant.

https://api.fileboy.io/images/get/FILE_ID
?transform=smartCrop:96x96
?transform=resize:220x_;format:webp
?transform=resize:160x_;grayscale
96 × 96 smart crop220 wide, WebP160 wide, greyscale

Video hosting API

Upload a video. Stream it everywhere.

Video is usually the part that makes a file service painful: an encoding job, a queue, somewhere to run it and a player to build. Fileboy does the encoding and gives you the player.

  • Encoded at sizes from 240p to 1080p, with a separate audio track, and streamed as adaptive HLS or DASH
  • A poster image picked for you with suggested frames to swap in, an animated preview, seek-preview thumbnails, MP4 and M4A audio downloads, and captions you upload per language
  • A player for any web page or framework, an iframe embed, or any HLS or DASH player
  • A webhook when the video is ready, so you never poll
curl https://api.fileboy.io/videos/upload \
  -H "Authorization: public YOUR_PUBLIC_KEY" \
  -F "file=@./clips/launch.mp4;type=video/mp4" \
  -F 'data={"name":"Launch day"}'

# { "id": "4a7b8f2e-...", "name": "Launch day", ... }

For developers

Add it in the time it takes to read this

A public key, a script tag and an input. Or a React, Vue or Svelte component. Or one call from Node, Ruby, Python, PHP or cURL. Your app stores a file ID and builds URLs from it.

<script>FILEBOY_PUBLIC_KEY = "YOUR_PUBLIC_KEY"</script>
<script src="https://unpkg.com/@cd2/fileboy-browser"></script>

<!-- Upload: the input's value becomes the file ID -->
<input type="hidden" data-fileboy name="avatar" />

<!-- Deliver: any size, any format, from the ID -->
<img src="https://api.fileboy.io/images/get/FILE_ID?transform=resize:200x_;format:auto" />

Pricing

Start free. Pay a flat price when you grow.

Each app has its own plan, so a side project never raises the bill for your main product. Transformations are unlimited on every plan.

Free

£0 / month
  • 1,000 files, 15 videos
  • 15 audio files
  • 5 GB storage
  • 10 GB/month delivery
  • Unlimited transformations
  • Signed URLs for private files
  • Virus scanning of uploads
  • 90-day activity log
  • Scoped, expiring API keys
  • Personal access tokens across your apps

Starter

£5 / month ($7 or €6)
  • No limit on files or videos
  • 100 audio files
  • 25 GB storage
  • 100 GB/month delivery
  • Can add the AI add-on (£9/month with 375 AI credits, then 2.5p a credit), with AI image edits up to 1,000 credits a month each
  • Unlimited transformations
  • Signed URLs for private files
  • Virus scanning of uploads
  • 90-day activity log
  • Scoped, expiring API keys
  • Personal access tokens across your apps

Pro

£19 / month ($25 or €23)
  • No limit on files or videos
  • 1,000 audio files
  • 100 GB storage
  • 500 GB/month delivery
  • 1 custom domain
  • Can add the AI add-on (£9/month with 375 AI credits, then 2.5p a credit), with AI image edits up to 1,000 credits a month each
  • Restore deleted files for 7 days (they count toward storage meanwhile)
  • Unlimited transformations
  • Signed URLs for private files
  • Virus scanning of uploads
  • 90-day activity log
  • Scoped, expiring API keys
  • Personal access tokens across your apps

Max

£79 / month ($99 or €95)
  • No limit on files or videos
  • 5,000 audio files
  • 500 GB storage
  • 2,000 GB/month delivery
  • 3 custom domains
  • Can add the AI add-on (£9/month with 375 AI credits, then 2.5p a credit), with AI image edits up to 5,000 credits a month each
  • Bring your own storage (S3, R2, Spaces, B2)
  • Restore deleted files for 30 days (they count toward storage meanwhile)
  • Unlimited transformations
  • Signed URLs for private files
  • Virus scanning of uploads
  • 90-day activity log
  • Scoped, expiring API keys
  • Personal access tokens across your apps

Coming from Cloudinary, Mux or S3?

Who we are

Built because we kept rebuilding it

We build software for clients and for ourselves. Every project needed uploads, resized images and sometimes video, and every project got a slightly different, slightly worse version. So we wrote it once, properly, and put our own apps on it.

Fileboy has been serving our production apps for years. We use it every week, we fix it when it annoys us, and you can email the people who wrote it at hello@fileboy.io.

8 changes this month. Read the changelog.

Questions developers ask

Does Fileboy handle video?

Yes. Upload a video and Fileboy encodes it in the background at sizes from 240p up to 1080p, picks a poster image, makes seek-preview thumbnails and serves adaptive HLS and DASH streaming, with MP4 downloads, the soundtrack as an M4A download, suggested posters and an animated preview. Play it with the React player, a script tag, an iframe or any HLS or DASH player, and add captions per language. It is on-demand video only: there is no live streaming, and anyone who has a video's id can play it unless the app turns on signed URLs. The video page has the details.

Which image transformations are supported?

Resize, crops (including smart crop and face-aware crop), rotate, colour and blur effects, rounded corners, format conversion (AVIF, WebP, JPEG, PNG) and quality are available on every plan, along with logo and text overlays for watermarks. format:auto serves AVIF or WebP to browsers that take them. The image transforms docs list the full set and how to chain them in one URL. The palette transform answers with an image's main colours, with a readable text colour for each, as JSON or CSS.

Can I keep files private?

Yes. Turn on signed URLs for an app and every file, image and video can only be read through a URL your server signs with your private key, which stops working at a time you choose. You can also make single files private by setting their read permission to Signed URLs only. Public keys are safe to ship in browser code: they can upload, but editing and deleting files needs your private key.

Can my team work on the same app?

Yes. Invite people to an app by email as an Admin, Developer or Viewer, at no extra cost. Developers get keys, webhooks, files and settings, Viewers can look but never see the private key, and only the app's Owner changes billing or deletes it. Fileboy checks the role on every request, in the dashboard and through personal access tokens.

Are uploads scanned for viruses?

Yes. Every upload is scanned with ClamAV, an open source antivirus engine, a few seconds after it arrives, so uploads aren't slowed down. A file found to contain known malware is blocked for everyone, kept until you delete it, and sends a file.infected webhook. You can also hold every new upload back until its scan is clean. Files over 100 MB aren't scanned, and like any scanner ClamAV only catches malware it knows of, so a clean scan isn't a guarantee.

Do I need to change my backend?

Not much. The browser uploader and React component talk to Fileboy directly. Your backend only stores the file ID that comes back, the same way it would store any other string.

Which languages and frameworks are supported?

There are official libraries for the browser, React, Vue, Svelte, Next.js, Node, Ruby, Python and PHP, so Rails, Django, Laravel and SvelteKit apps are covered. Everything is also available over a plain HTTP API with a published OpenAPI spec, so any other language can generate a client.

Who builds Fileboy?

CD2 Solutions, a small UK software company. We wrote Fileboy because we kept rebuilding the same file handling for client projects, and we have run it in production for years.

Ship the file features, skip the infrastructure

Free plan, no card. Create an app, paste your key, upload a file.