Our lightweight, dependency-free JavaScript file upload library. Comes pre-integrated with the Upload API to give y'all end-to-end file uploading & hosting, with only 5 lines of code.

1 Install Upload.js

Copy-and-paste this lawmaking snippet to add a working file upload button to your web app.

Don't forget: y'all'll demand an Upload account!

  • No servers or configuration
  • No boilerplate code
  • Offset uploading files in 60 seconds

2 Upload a file

With your button created, try uploading a file. The effect will contain a file ID, which can be used at any time to download the file. You should salve the file ID to your backend API.

File URL https://upcdn.io/ File ID x89e18fe4x3

  • Files hosted on our ultra-fast CDN
  • Basic plans: CDN covers 100 locations worldwide
  • Pro plans: CDN covers 300 + locations worldwide

3 Transform your files

Now create a transformation through the Upload Dashboard. If y'all paste a transformation's slug to the end of a file URL, the result volition be a transformation of that file, e.chiliad. a resized image.

https://files .upload.io / File ID x89e18fe4xthree / Transformation Slug png;due west=1024;h=768

  • Transform files via the URL.
  • Resize images, excerpt zips, and more.
  • Even run your own code!

Demand a file upload widget?

Bank check out Uploader: our drop-in file & image upload widget.

See Uploader

Image Description

Need a Remainder API?

Learn near the Upload API: a simple API for uploading & hosting files.

See Upload API

Image Description

Loved past developers worldwide

Developers savor using the Upload Platform every bit a lightning-fast style to add file uploads to apps.

Upload.js is 7KB when minified and gzipped (including its dependencies) and comes complete with TypeScript definitions.

No infrastructure to provision or boilerplate code to write: but install Upload.js, enter your API key, and first uploading files.

Upload's content delivery network (CDN) serves your files from 300 + locations worldwide, giving your users ultra-depression-latency downloads.

Our documentation is clear, easy to follow, and cuts straight to the indicate. Nosotros promise not to waste any of your time.

Transform your uploaded files via the URL, using either pre-made transformations, or custom ones you've written using JavaScript.

Upload allows you to authenticate uploads and downloads via your backend API, giving you complete command over file access.

Become Started

Join the developers already using Upload.js

Go Started

It takes as little as 60 seconds to add Upload.js to your website.