# JavaScript file upload libraries

JavaScript file upload libraries send files from a browser to a server or storage service. Large files travel in chunks so that an interrupted upload can resume from the last completed piece. These libraries handle the profile photos, document attachments, and video uploads in web apps.

## Popularity

| Library | Monthly downloads | Stars | Last release | License |
| --- | --- | --- | --- | --- |
| [tus-js-client](#tus-js-client) | 12.0M | 2.6K | Jan 2025 | MIT |
| [Uppy](#uppy) | 8.1M | 31.1K | Nov 2026 | MIT |
| [dropzone](#dropzone) | 3.2M | 18.4K | Sep 2026 | MIT |
| [FilePond](#filepond) | 1.6M | 16.4K | Nov 2026 | MIT |
| [@uploadcare/upload-client](#uploadcare-upload-client) | 1.1M | 64 | Nov 2026 | MIT |
| [UploadThing](#uploadthing) | 1.0M | 5.4K | Aug 2025 | MIT |
| [@uploadcare/file-uploader](#uploadcare-file-uploader) | 594.4K | 113 | Nov 2026 | MIT |
| [@rpldy/uploady](#rpldy-uploady) | 237.1K | 1.3K | Nov 2025 | MIT |

Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

[tus-js-client](#tus-js-client) has the most monthly downloads in this comparison, at 12.0M.

## Capabilities

| Library | Upload picker UI | Managed upload account |
| --- | --- | --- |
| [tus-js-client](#tus-js-client) | No | No |
| [Uppy](#uppy) | Via plugin | No |
| [dropzone](#dropzone) | Yes | No |
| [FilePond](#filepond) | Yes | No |
| [@uploadcare/upload-client](#uploadcare-upload-client) | No | Yes |
| [UploadThing](#uploadthing) | No | Yes |
| [@uploadcare/file-uploader](#uploadcare-file-uploader) | Yes | Yes |
| [@rpldy/uploady](#rpldy-uploady) | Via plugin | No |

## Libraries

### tus-js-client

[GitHub](https://github.com/tus/tus-js-client) · [npm](https://www.npmjs.com/package/tus-js-client) · [Docs](https://github.com/tus/tus-js-client/blob/main/docs/usage.md)

Uploads files to a tus server and resumes an interrupted upload from where it stopped.

- Downloads / mo: 12.0M
- Stars: 2.6K
- Last release: 4.3.1
- License: MIT
- Capabilities: [From the tus-js-client docs](https://github.com/tus/tus-js-client/blob/main/docs/usage.md)

**Strengths**

- **Finds earlier uploads to resume.** findPreviousUploads lists started uploads for resumeFromPreviousUpload to continue.

**Watch out for**

- **Needs a tus server.** Tus requires both a client and a matching server integration.

```sh
npm install tus-js-client
```

**Quickstart**

```javascript
import * as tus from 'tus-js-client'
input.addEventListener('change', function (e) {
  // Get the selected file from the input element
  var file = e.target.files[0]

  // Create a new tus upload
  var upload = new tus.Upload(file, {
    endpoint: 'http://localhost:1080/files/',
    retryDelays: [0, 3000, 5000, 10000, 20000],
    metadata: {
      filename: file.name,
      filetype: file.type,
    },
    onError: function (error) {
      console.log('Failed because: ' + error)
    },
    onProgress: function (bytesUploaded, bytesTotal) {
      var percentage = ((bytesUploaded / bytesTotal) * 100).toFixed(2)
      console.log(bytesUploaded, bytesTotal, percentage + '%')
    },
    onSuccess: function () {
      console.log('Download %s from %s', upload.file.name, upload.url)
    },
  })

  // Check if there are any previous uploads to continue.
  upload.findPreviousUploads().then(function (previousUploads) {
    // Found previous uploads so we select the first one.
    if (previousUploads.length) {
      upload.resumeFromPreviousUpload(previousUploads[0])
    }

    // Start the upload
    upload.start()
  })
})

```

From [README.md](https://api.github.com/repos/tus/tus-js-client/contents/README.md) · [Find projects using tus-js-client →](https://dashboard.exa.ai/playground/search?q=tus-js-client%20GitHub%20projects)

### Uppy

[GitHub](https://github.com/transloadit/uppy) · [npm](https://www.npmjs.com/package/@uppy/core) · [Docs](https://uppy.io/docs/uppy/)

Coordinates browser file uploads through a shared state manager and optional interface and transport plugins.

- Downloads / mo: 8.1M
- Stars: 31.1K
- Last release: 6.3.2
- License: MIT
- Capabilities: [From the Uppy docs](https://uppy.io/docs/uppy/)

**Strengths**

- **Adds upload features through plugins.** Choose interface and transport plugins around the same upload state.
- **Continues interrupted transfers with Tus.** Add the Tus plugin to resume uploads after a lost connection.

**Watch out for**

- **Core needs a transport plugin.** Install an uploader plugin to transfer files to the server.
- **Type checks need server validation.** Validate uploaded content on the server; browser metadata is only guidance.

```sh
npm install @uppy/core @uppy/dashboard @uppy/xhr-upload
```

**discourse/discourse** (48.1K stars)

[discourse/discourse](https://github.com/discourse/discourse) 

```javascript
startUpload() {
    if (!this.filesAwaitingUpload) {
      return;
    }
    if (!this.uppyWrapper.uppyInstance?.getFiles().length) {
      return;
    }
    this.uploading = true;
    return this.uppyWrapper.uppyInstance?.upload();
  }

```

[frontend/discourse/app/lib/uppy/uppy-upload.js](https://github.com/discourse/discourse/blob/7d4baabb7e7ead86de386429e7862f17b8022139/frontend/discourse/app/lib/uppy/uppy-upload.js#L436-L445) · [More projects using Uppy →](https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20using%20%40uppy/core%20for%20upload%20queue%20control%2C%20edited-image%20replacement%20and%20completed-upload%20handling&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```javascript
import Uppy from '@uppy/core'
import Dashboard from '@uppy/dashboard'
import XHR from '@uppy/xhr-upload'

import '@uppy/core/css/style.min.css'
import '@uppy/dashboard/css/style.min.css'

new Uppy()
  .use(Dashboard, { inline: true, target: 'body' })
  .use(XHR, { endpoint: 'https://your-domain.com/upload' })

```

From [xhr.mdx](https://api.github.com/repos/transloadit/uppy/contents/website/docs/uploader/xhr.mdx)

### dropzone

[GitHub](https://github.com/enyo/dropzone) · [npm](https://www.npmjs.com/package/dropzone) · [Docs](https://api.github.com/repos/dropzone/dropzone/contents/packages/dropzone/README.md)

Adds drag-and-drop file selection, previews and XHR uploads to browser elements.

- Downloads / mo: 3.2M
- Stars: 18.4K
- Last release: 6.3.5
- License: MIT
- Capabilities: [From the dropzone docs](https://api.github.com/repos/dropzone/dropzone/contents/packages/dropzone/README.md)

**Strengths**

- **Shows previews and upload progress.** Display selected files and their progress in a customizable drop area.
- **Uploads large files in chunks.** Enable chunking to send a large file as smaller requests.

**Watch out for**

- **Chunking excludes grouped file requests.** Choose chunking or uploadMultiple; they cannot be enabled together.
- **Replacing handlers removes default behavior.** Add event listeners unless deliberately replacing the default interface behavior.

```sh
npm install dropzone
```

**Quickstart**

```javascript
import { Dropzone } from "dropzone";

const dropzone = new Dropzone("div#myId", { url: "/file/post" });

```

From [README.md](https://api.github.com/repos/dropzone/dropzone/contents/packages/dropzone/README.md) · [Find projects using dropzone →](https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20using%20dropzone%20for%20upload%20queue%20control%2C%20edited-image%20replacement%20and%20completed-upload%20handling&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

### FilePond

[GitHub](https://github.com/pqina/filepond) · [npm](https://www.npmjs.com/package/filepond) · [Docs](https://pqina.nl/filepond/docs/getting-started/installation/javascript/)

Turns a file input into an upload interface with configurable server endpoints and chunk transfers.

- Downloads / mo: 1.6M
- Stars: 16.4K
- Last release: 4.32.14
- License: MIT
- Capabilities: [From the FilePond docs](https://pqina.nl/filepond/docs/getting-started/installation/javascript/)

**Strengths**

- **Continues partially uploaded chunks.** Query the server offset and continue from the next expected chunk.
- **Adds image previews through plugins.** Install the Image Preview plugin to display downscaled image previews.

**Watch out for**

- **Uploads need configured server endpoints.** Configure the server integration before files can upload asynchronously.
- **Type detection follows the browser.** Supply a custom detector when the browser cannot identify the file type.

```sh
npm install filepond
```

**filamentphp/filament** (32.5K stars)

[filamentphp/filament](https://github.com/filamentphp/filament) 

```javascript
saveEditor() {
            if (isDisabled) {
                return
            }

            if (!hasImageEditor) {
                return
            }

            this.isEditorOpenedForAspectRatio = false

            let croppedCanvas = this.editor.getCroppedCanvas({
                fillColor: imageEditorEmptyFillColor ?? 'transparent',
                height: automaticallyResizeImagesHeight,
                imageSmoothingEnabled: true,
                imageSmoothingQuality: 'high',
                width: automaticallyResizeImagesWidth,
            })

            if (hasCircleCropper) {
                croppedCanvas = this.getRoundedCanvas(croppedCanvas)
            }

            croppedCanvas.toBlob(
                (croppedImage) => {
                    if (isDestroyed || !this.pond) {
                        return
                    }

                    if (this.editingFileId) {
                        this.pond.removeFile(this.editingFileId, {
                            revert: true,
                        })
                    }

                    this.$nextTick(() => {
                        if (isDestroyed || !this.pond) {
                            return
                        }

                        this.shouldUpdateState = false

                        let editingFileName = this.editingFile.name.slice(
                            0,
                            this.editingFile.name.lastIndexOf('.'),
                        )
                        let editingFileExtension = this.editingFile.name
                            .split('.')
                            .pop()

                        if (editingFileExtension === 'svg') {
                            editingFileExtension = 'png'
                        }

                        const fileNameVersionRegex = /-v(\d+)/

                        if (fileNameVersionRegex.test(editingFileName)) {
                            editingFileName = editingFileName.replace(
                                fileNameVersionRegex,
                                (match, number) => {
                                    const newNumber = Number(number) + 1

                                    return `-v${newNumber}`
                                },
                            )
                        } else {
                            editingFileName += '-v1'
                        }

                        this.pond
                            .addFile(
                                new File(
                                    [croppedImage],
                                    `${editingFileName}.${editingFileExtension}`,
                                    {
                                        type:
                                            this.editingFile.type ===
                                                'image/svg+xml' ||
                                            hasCircleCropper
                                                ? 'image/png'
                                                : this.editingFile.type,
                                        lastModified: new Date().getTime(),
                                    },
                                ),
                            )
                            .then(() => {
                                this.closeEditor()
                            })
                            .catch(() => {
                                this.closeEditor()
                            })
                    })
                },
                hasCircleCropper ? 'image/png' : this.editingFile.type,
            )
        }

```

[packages/forms/resources/js/components/file-upload.js](https://github.com/filamentphp/filament/blob/78c3035931ece552bb2448fe2cc3ff82e8d54e1c/packages/forms/resources/js/components/file-upload.js#L976-L1071) · [More projects using FilePond →](https://dashboard.exa.ai/playground/search?q=JavaScript%20projects%20using%20filepond%20for%20upload%20queue%20control%2C%20edited-image%20replacement%20and%20completed-upload%20handling&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```javascript
<link href="filepond.css" rel="stylesheet" />
<script src="filepond.js"></script>

<input type="file" />

<script>
    // Get a reference to the file input element
    const inputElement = document.querySelector('input[type="file"]');

    // Create a FilePond instance
    const pond = FilePond.create(inputElement);
</script>

```

From [Installation docs](https://pqina.nl/filepond/docs/getting-started/installation/javascript/)

### @uploadcare/upload-client

[GitHub](https://github.com/uploadcare/uploadcare-js-api-clients) · [npm](https://www.npmjs.com/package/@uploadcare/upload-client) · [Docs](https://api.github.com/repos/uploadcare/uploadcare-js-api-clients/contents/packages/upload-client/README.md)

Uploads files to the Uploadcare Upload API, including multipart uploads for large files.

- Downloads / mo: 1.1M
- Stars: 64
- Last release: 6.25.1
- License: MIT
- Capabilities: [From the @uploadcare/upload-client docs](https://api.github.com/repos/uploadcare/uploadcare-js-api-clients/contents/packages/upload-client/README.md)

**Strengths**

- **Uploads from URLs.** Upload a file from a remote URL or reference an existing file by its UUID.

```sh
npm install @uploadcare/upload-client
```

**Quickstart**

```javascript
import { UploadClient } from '@uploadcare/upload-client'

const client = new UploadClient({ publicKey: 'YOUR_PUBLIC_KEY' })
client.uploadFile(fileData).then((file) => console.log(file.uuid))

```

From [README.md](https://api.github.com/repos/uploadcare/uploadcare-js-api-clients/contents/packages/upload-client/README.md) · [Find projects using @uploadcare/upload-client →](https://dashboard.exa.ai/playground/search?q=%40uploadcare/upload-client%20GitHub%20projects)

### UploadThing

[GitHub](https://github.com/pingdotgg/uploadthing) · [npm](https://www.npmjs.com/package/uploadthing) · [Docs](https://docs.uploadthing.com/api-reference/client)

Uploads files from the browser through presigned URLs requested from a typed backend file router.

- Downloads / mo: 1.0M
- Stars: 5.4K
- Last release: 7.7.4
- License: MIT
- Capabilities: [From the UploadThing docs](https://docs.uploadthing.com/api-reference/client)

**Strengths**

- **Typed upload functions.** genUploader type-checks endpoints, route input, and callback data against the file router.

```sh
npm install uploadthing
```

**Quickstart**

```javascript
import { genUploader } from "uploadthing/client";

import type { UploadRouter } from "~/server/uploadthing";

export const { uploadFiles } = genUploader<UploadRouter>();

const response = await uploadFiles("routeEndpoint", {
  files: [],
});

```

From [Client API docs](https://docs.uploadthing.com/api-reference/client) · [Find projects using UploadThing →](https://dashboard.exa.ai/playground/search?q=uploadthing%20GitHub%20projects)

### @uploadcare/file-uploader

[GitHub](https://github.com/uploadcare/file-uploader) · [npm](https://www.npmjs.com/package/@uploadcare/file-uploader) · [Docs](https://api.github.com/repos/uploadcare/file-uploader/contents/README.md)

Adds an Uploadcare file uploader to web pages as web components.

- Downloads / mo: 594.4K
- Stars: 113
- Last release: 1.36.1
- License: MIT
- Capabilities: [From the @uploadcare/file-uploader docs](https://api.github.com/repos/uploadcare/file-uploader/contents/README.md)

```sh
npm install @uploadcare/file-uploader
```

**Quickstart**

```javascript
<script type="module">
  import * as UC from "https://cdn.jsdelivr.net/npm/@uploadcare/file-uploader@1/web/file-uploader.min.js";

  UC.defineComponents(UC);
</script>
<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/@uploadcare/file-uploader@1/web/uc-file-uploader-regular.min.css"
/>

<uc-file-uploader-regular ctx-name="my-uploader"> </uc-file-uploader-regular>
<uc-config ctx-name="my-uploader" pubkey="YOUR_PUBLIC_KEY"></uc-config>

```

From [README.md](https://api.github.com/repos/uploadcare/file-uploader/contents/README.md) · [Find projects using @uploadcare/file-uploader →](https://dashboard.exa.ai/playground/search?q=%40uploadcare/file-uploader%20GitHub%20projects)

### @rpldy/uploady

[GitHub](https://github.com/rpldy/react-uploady) · [npm](https://www.npmjs.com/package/@rpldy/uploady) · [Docs](https://api.github.com/repos/rpldy/react-uploady/contents/README.md)

Provides the React context component that exposes Uploady upload hooks to the rest of an app.

- Downloads / mo: 237.1K
- Stars: 1.3K
- Last release: 1.13.0
- License: MIT
- Capabilities: [From the @rpldy/uploady docs](https://api.github.com/repos/rpldy/react-uploady/contents/README.md)

```sh
npm install @rpldy/uploady @rpldy/upload-button
```

**Quickstart**

```javascript
import React from "react";
import Uploady from "@rpldy/uploady";
import UploadButton from "@rpldy/upload-button";

const App = () => (<Uploady
    destination={{ url: "https://my-server/upload" }}>
    <UploadButton/>
</Uploady>);

```

From [README.md](https://api.github.com/repos/rpldy/react-uploady/contents/README.md) · [Find projects using @rpldy/uploady →](https://dashboard.exa.ai/playground/search?q=%40rpldy/uploady%20GitHub%20projects)

## FAQ

### What is UploadThing?

[UploadThing](#uploadthing) uploads files from the browser through presigned URLs that a backend file router requests. Its genUploader function generates a typed upload function that matches that file router.

### What is Uppy?

[Uppy](#uppy) is a modular file upload widget that keeps upload state in a core package. Interface plugins and uploader plugins, such as the Tus plugin for resumable transfers, attach to that core.

### What is FilePond?

[FilePond](#filepond) turns a file input into an upload interface with configurable server endpoints. It sends large files in chunks and continues a failed transfer from the offset the server expects.

### What is Dropzone.js?

[Dropzone](#dropzone) adds drag-and-drop file selection, previews, and upload progress to a browser element. It can split a large file into a series of chunked requests.

### Does Uppy Core upload files on its own?

Add an uploading plugin to the core orchestrator.

### Can Dropzone combine chunking with multiple files in one request?

The chunking and uploadMultiple settings cannot be used together.

## How this page was built

Data checked Nov 20, 2026.

Reproduce it with the Exa API:

```json
{
  "endpoint": "/search",
  "body": {
    "query": "Best JavaScript file upload libraries Uppy FilePond Dropzone Resumable.js examples",
    "numResults": 5
  }
}
```

Docs: https://exa.ai/docs/reference/search
