Filestack File Uploader & File Upload API

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

Privacy and Security Features

Security Policies

Authentication and authorization against our APIs relies on Base64URL-encoded JSON “policies” and HMAC-SHA256 “signatures”. The policy determines which actions are authorized and the signature authenticates the policy.

Domain Whitelisting

One way of securing your application and your resources, so others don’t attempt to piggyback on your account.

Virus Detection

Virus detection is one of the intelligence tasks in Filestack platform. Using this mechanism you can detect infected content in files your users upload asynchronously immediately after file hits the storage.

SendGrid logo with stylized gray text and overlapping square shapes on the left.
Zenefits logo featuring a stylized hummingbird icon to the left of the word “ZENEFITS” in uppercase, sans-serif letters.
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.
Large, bold, purple letters spelling TED on a white background.
The image shows the classic Coca-Cola logo in a cursive script font.
The word MONSTER is written in large, bold, uppercase letters using a grayish-purple font on a light background.
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.

See how easy it can be to instantly transform any file or image.

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.
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.
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

  • Virus detection protects the integrity of your system and app.
  • Copyright detection means no protected image will be displayed.
  • Understand the content of your images with Object detection.

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.

CONNECT YOUR APP TO FILES FROM OVER 20 SOURCES. SEE THEM ALL

Icon of a computer monitor displaying a pencil symbol, with a keyboard underneath, all in a simple dark outline style on a light gray circular background.
A blue circle with a white lowercase f in the center, representing the Facebook logo, on a light gray circular background.
Blue circle with a white, geometric, open box design in the center, resembling the Dropbox logo, on a light gray background.
Blue box logo in lowercase letters centered on a light gray circular background.
A circular icon with a black silhouette of a cat’s head and shoulders, resembling the GitHub logo, set against a light gray background.

WAY MORE THAN A FILE UPLOADER WIDGET: A COMPLETE SECURE UPLOAD SYSTEM.

What you can get from FileStack

An icon of a cloud with a padlock inside it, enclosed within a rounded rectangle, representing secure cloud storage or secure cloud access.

SECURE CLOUD STORAGE

Upload files to Amazon S3, Microsoft Azure, Google Dropbox, Rackspace, or Google Cloud Storage secured by SSL encryption to protect data and control access.

Icon of a document with a corner folded, overlaid by a black label displaying the white text NSFW, indicating content that is not safe for work.

SECURE API

All requests will need to be signed with the secret key and Hash Message Authentication Code.

Icon of a document with a corner folded, overlaid by a black label displaying the white text NSFW, indicating content that is not safe for work.

SECURE CDN

Deliver large multimedia files and documents to users with our powerful CDN, equipped with built-in optimization and security features.

Let’s Get Started.

Talk to us about how simple it can be to instantly and automatically transform any file or image.

Integrate in Just Seconds!

No matter what language you code in, you can easily implement Filestack onto your application. We are easily implemented in any language.

Libraries & SDKs
Choose from our SDKs to get started: Javascript, Ruby, PHP, Python, Swift, Android

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)