WebP Hosting

WebP Hosting on a CDN With the Correct Content-Type

Host WebP images on a global CDN with proper content-type headers. Bring your own optimization pipeline.

WebP earns its place because it's typically 25-35% smaller than JPEG or PNG at matched quality, with both lossy and lossless modes plus alpha transparency — real bytes saved on every page view. But hosting it badly throws the win away. Serve a .webp from a misconfigured origin that returns application/octet-stream or text/plain and some browsers refuse to treat it as an image; serve it without edge caching and you've traded a smaller file for a slower origin round-trip. files.link hosts pre-optimized WebP on a global CDN with the correct image/webp content-type, so <img>, <picture>, CSS background-image, and srcset all just work, delivered from the nearest edge.

The deliberate scope here: files.link is storage plus CDN, not an optimization engine. It does not transcode PNG to WebP or negotiate formats from a URL parameter — it serves the exact bytes you upload. You bring your own pipeline, which is a feature if you want deterministic output and zero per-transform metering. Convert at build or upload time with Sharp — await sharp(input).webp({ quality: 80 }).toBuffer() — or the cwebp CLI — cwebp -q 80 photo.png -o photo.webp — then upload via the three REST calls (POST /v1/files/{folderId} → PUT the presigned URL → POST /v1/files/confirm-upload with {ids:[...]}).

For responsive images, generate the few widths your layout uses and reference them with srcset: <img src="hero-800.webp" srcset="hero-400.webp 400w, hero-800.webp 800w, hero-1600.webp 1600w" sizes="(max-width:600px) 100vw, 50vw" alt="...">. For broad fallback, wrap WebP in a <picture> with a JPEG source — <picture><source srcset="photo.webp" type="image/webp"><img src="photo.jpg" alt="..."></picture> — though every current browser (Chrome, Firefox, Edge, Safari 14+) supports WebP natively, so fallback is mostly legacy insurance.

Because the CDN serves what you upload, your build determines quality and size precisely, and there's no surprise transform bill the way URL-driven services (Cloudinary, Cloudflare Images) can produce when derived URLs multiply. Billing is prepaid credits against storage and delivery, so a heavily-viewed image costs predictable bandwidth. If you also need AVIF, the same pattern applies — encode it yourself, upload it, and offer it as an additional <source type="image/avif"> ahead of WebP in your <picture>. files.link will serve any of these formats with the right content-type; the optimization decisions stay in your hands, where they're cheapest to control.

Benefits With No Complexity

Global CDN delivery

Your files are served from 450+ edge locations worldwide.

Edge-cached worldwide

Files are cached close to your users for fast delivery.

Signed-URL security

Private files stay protected with time-limited access.

What You Get

Unlimited files

Upload as many files as you need.

Unlimited storage

There is no storage limit.

Public + Private storage

Private files are fully secured.

CDN ready links

Upload directly to 450+ edge locations worldwide.

Prepaid credits

No subscription. Pay only for the storage and bandwidth you use.

More coming soon

We have plenty of features coming!

How files.link Works

1. Upload

Create a project and upload your first file.

2. Copy

Copy the CDN link.

3. Use Anywhere

Paste and enjoy the blazing speed.

Why Developers Choose files.link

A Better Way to Store & Deliver Files

CloudinaryCloudflare Imagesfiles.link
Correct image/webp content-type
Storage + CDN, no per-transform metering
Bring-your-own optimization pipeline
Prepaid credits (predictable cost)
URL-driven on-the-fly transforms

Calculate Your Needs

Storage

0GB

Egress

0GB

CDN Bandwidth

0GB
Total: $0.000/month

Host Your WebP Images

  • Global CDN delivery
  • Edge-cached worldwide
  • Signed-URL security
  • Unlimited files
  • Unlimited storage
  • Public + Private storage
  • No subscription — prepaid credits keep spend predictable
Start Hosting WebP Images

Frequently Asked Questions

Does files.link convert my PNG/JPEG to WebP?
No. files.link is storage plus CDN and serves the exact bytes you upload. Convert at build or upload time with Sharp (.webp({quality:80})) or cwebp, then upload the .webp. You keep deterministic output and avoid any per-transform metering.
Will the WebP serve with the right headers?
Yes — files.link sets the image/webp content-type automatically, so <img>, <picture>, CSS background-image, and srcset all render it correctly from the nearest CDN edge, with no origin misconfiguration serving it as octet-stream or text.
How do I serve responsive WebP variants?
Generate the handful of widths your layout uses, upload each as a separate file, and reference them with srcset (hero-400.webp 400w, hero-800.webp 800w...). For legacy fallback, wrap in <picture> with a JPEG <img> source.
Can I also host AVIF?
Yes. Encode AVIF yourself and upload it the same way; files.link serves it with the correct content-type. Offer it as a <source type="image/avif"> placed before your WebP source in a <picture> so browsers pick the best supported format.
General Questions
Is there a subscription?
No. files.link uses prepaid credits, so storage, bandwidth, and API usage are deducted from your balance as you go. The app explains the payment step before uploads are enabled — no monthly subscription and no per-user fees.
What is files.link?
files.link is a developer-first file platform that makes it simple to store, secure, and deliver files globally. It provides signed URLs, public/private access, and an API-first design so you can integrate file delivery into any app without the usual complexity.
How does billing work?
files.link uses prepaid credits. As you use storage, bandwidth, and API requests, credits are deducted daily. When your balance runs low, we automatically recharge it using your saved card. If an auto-recharge doesn't go through, your files and links stay put — you simply update your payment method or top up manually to keep going. No monthly subscriptions — just simple usage-based pricing.
How secure is my data?
All files are encrypted at rest and in transit. You can use signed URLs for private files, control access with permissions, and rely on enterprise-grade infrastructure for data protection.

Related

files.link
Copyright © 2026
All rights reserved
ContactGuidesGlossaryStatusLegal