Filestack File Uploader & File Upload API

Simple file uploader & powerful APIs to upload, transform & deliver any file into your app.

Integrate File Picker in seconds

1 Copy and paste the following code snippet into your project:

const client = filestack.init("apikey");
const picker = client.picker(); 
picker.open();

2 Get your API key here and add above.

3 Congratulations! Your File Picker is now ready to use.

4 Want to customize it further? Click here to learn how.

A file picker interface with a sidebar showing options like My Device, Link (URL), Web Search, Facebook, Instagram, and Google Drive. A popup in the center says, Explore what Filestacks File Picker has to offer with a LETS GO button.

TRUSTED BY:
SendGrid logo with stylized gray text and overlapping square shapes on the left.
LinkedIn logo followed by the word SlideShare in gray text on a light background.
The word teachable is written in all lowercase, sans-serif letters with a colon between teach and able, in a light purple color on a light background.
A gray Airtable logo featuring a geometric cube design to the left of the word Airtable in bold, modern font.
Here’s what the #1 developer service for content can do for your business.
A light purple cloud icon with an upward-pointing arrow in the center, representing the concept of uploading to the cloud.

UPLOAD

Get user content from anywhere and dramatically improve any file or video upload with a powerful, easy to use API. Uploads, URL ingestion and iOS/Android device integration are all made fast and #1 file uploader for developers.

A small, light purple square icon with rounded corners, a dot in the center, and four circles at each corner connected by lines, resembling a simplified network or connection diagram.

TRANSFORM

Prepare content to be just right. Easily transform, convert and optimize images, files and videos right on the network-before it even arrives in your app.
A simple, purple globe icon with horizontal and vertical lines representing longitude and latitude.

DELIVER

Content in Context. Prepare responsive audio, video, image and document files to be delivered fast, optimized and secure, powered by the Filestack CDN. Easily display content inside your application with the Filestack embeddable viewer.
A logo with the words FILESTACK UPLOAD™ in uppercase gray letters on a white background.

#1 Developer Service for File Uploads

Get user content from anywhere and improve file and video upload with a powerful, easy to use API.
import * as filestack from 'filestack-js';
const client = filestack.init('YOUR API KEY');
client.upload(fileObject).then(data =>console.log(data.url));
gem 'filestack'
client = FilestackClient.new('YOUR_API_KEY', security: security_object)
filelink = client.upload(filepath: '/path/to/file')
$ composer require --prefer-dist filestack/filestack-php

use Filestack\FilestackClient;

$client = new FilestackClient('YOUR_API_KEY');
$filelink = $client-upload('/path/to/file');
$ pip install filestack-python

from filestack import Client client = Client("")

params = {'mimetype': 'image/png'}
new_filelink = client.upload(filepath="path/to/file", params=params)
print(new_filelink.url)

SDKs for quick integration

Never worry about updating API integrations again with our Libraries & SDKs.

100X more reliable mobile uploads

Mobile uploads often fail, so we created the Content Ingestion Network (CIN) to make uploads 100X more reliable.
  • Filelink instantly available
  • Asynchronous upload from the Filestack storage to your storage location
A diagram showing a file upload process: a user uploads a file to Filestack storage, which then returns a file link instantly to the user’s application and stores the file in your cloud storage.
See how easy uploads can be with Filestack.
The image shows the Filestack Transform™ logo with FILESTACK in light gray and TRANSFORM in bold, darker gray capital letters.

Powerful image transformation for you and your customers

Give your customers the power to manipulate their images, before they upload. Easily transform, convert and optimize images or apply beautiful effects and filters to any image.

A photo editing interface is shown on a desktop and mobile screen with tools for filters, brightness, text, and adjustments. A landscape photo of mountains, trees, and a lake is being edited. A red Live Demo and More button appears below.

URL-Based Transformations

Apply immediate transformations to any image or video right on the network – before it ever arrives in your app.
https://cdn.filestackcontent.com/key-here/resize=height:200/file-id-here
Icon of two overlapping documents, with the front document shaded purple and the back document outlined in purple on a light background.

DOCUMENT CONVERSION FOR ANY FILE TYPE

Convert files, graphic documents and webpages through a URL-based API, with no infrastructure to own or manage.
A purple circle with a white play button (triangle) in the center, resembling a media play icon.

AUDIO & VIDEO CONVERSION

Easily convert audio/video formats by calling on the Filestack API. Reliably convert between formats without impact to your infrastructure.
The image displays the logo FILESTACK DELIVER™ in gray, bold, uppercase letters on a white background.

Reliable, Secure File Delivery

Applications require responsive files. Prepare responsive audio, video, image and document files to be delivered fast, optimized and secure.
See how easy it can be to instantly transform any file or image.
The image displays the text FILESTACK INTELLIGENCE™ in uppercase, gray letters on a white background.
People stand in a crowd at an outdoor event, some wearing raincoats and backpacks. A large red umbrella is open in the center. Colorful smoke or powder fills the background, creating a festive atmosphere.

Object Detection

{
"apparel": 84,
"canopy": 74,
"clothing": 84,
"coat": 84,
"crowd": 81,
"festival": 59,
"human": 99,
"people": 77,
"person": 99,
"umbrella": 70
}

Explicit Content Detection

{
"sfw": true
}

Filter Content

Filestack OCR

Automating data capture has never been easier. Our OCR SDK helps digitize documents to extract data without lifting a finger.
A partially blurred New York State driver license is shown. The state name, address (114 W 87TH Street, New York NY 10024), and a photo of a young blonde woman are highlighted with labels.
Content Intelligence simplified with Filestack. Let us tell you how.
Logo displaying the text FILESTACK WORKFLOWS™ in uppercase gray letters on a white background.
Flowchart showing a student uploading a homework assignment, followed by virus scan, SFW check for images, plagiarism check, storage categorization by time submitted, with a path leading to quarantine if issues are found.

Virus Detection delivered with Filestack Workflows

Scan every file during upload to check for malicious content. Immediately quarantine any dangerous file so your app stays secure.

Filestack is the only Secure File Handling Service for Developers

In the age of GDPR and consumer security, Filestack is focused on creating a Secure File Handling Service built for developers.

Frequently Asked Questions

How do I upload files using Filestack?

You can upload files using Filestack by integrating our powerful APIs that allow you to upload, transform, and deliver content easily.

What are the benefits of using Filestack?

Filestack provides a set of tools and powerful APIs that allow you to upload, transform, and deliver content easily. Our beautiful UI integrations provide great experiences for your users, and our API lets you quickly and seamlessly oversee all your file management needs.

How do I get started?

You can get started with Filestack by signing up for free and then logging in to your Developer´s Portal.

What types of files can I upload?

You can upload various file types including images (JPEG, PNG, GIF), documents (PDF, DOCX, TXT), audio (MP3, WAV), and video files (MP4, AVI).

Are there any file upload limits?

Upload limits typically depend on your subscription plan, but generally include size limits per file and total storage capacity. For specific limits, please refer to your plan details.

What are some of the use cases of Filestack?

How do I add a secure image uploader to my website?

To add a secure image uploader for website, integrating a service like Filestack is an effective method. Filestack provides built-in security features such as security policies that define authorized actions and require signatures for authentication. You can also implement domain whitelisting to ensure the uploader is only used on approved websites, blocking unauthorized requests. This helps protect your application and ensures secure file uploads.

Does File Picker support folder uploads?

Yes, one of the key new features in File Picker 4.0 is the ability to upload entire folders. You can now drag and drop a folder, and File Picker will preserve the folder structure and display detailed upload progress.