Integrate Powerful File Handling in Minutes
Our robust SDKs for your favorite languages and frameworks make it effortless to add file uploading, transformations, and delivery to any application.
📁
Filepicker Component
Goes Here
Goes Here
Explore Our SDKs
Whether you’re building a rich front-end experience or a powerful back-end service, we have a library to get you up and running fast. Click a language to see a code example.
Client-Side
JavaScript
The core of our client-side functionality. Embed our beautiful File Picker widget, enable image editing, and handle uploads directly from the browser.
// Add the script to your HTML head
// <script src="//static.filestackapi.com/filestack-js/4.x.x/filestack.min.js">
</script>
const client = filestack.init('YOUR_API_KEY');
const options = {
onUploadDone: (res) => console.log(res.filesUploaded),
};
client.picker(options).open();
Client-Side
React
Leverage our component-based library to easily integrate the File Picker into your React applications with minimal boilerplate.
import React from 'react';
import { PickerOverlay } from 'filestack-react';
const FileUploader = () => {
return (
<PickerOverlay
apikey={'YOUR_API_KEY'}
onSuccess={(result) => console.log(result)}
pickerOptions={{
maxFiles: 5,
}}
/>
);
};
Client-Side
Angular
Our Angular SDK provides a simple directive to add the Filestack picker to your templates, fully integrated with the Angular ecosystem.
// In your component's template
<button
filestack
[options]="pickerOptions"
(uploadSuccess)="onUploadSuccess($event)"
apikey="YOUR_API_KEY">
Upload File
</button>
// In your component's class
pickerOptions = {
fromSources: ['local_file_system'],
accept: 'image/*',
};
Server-Side
Python
A powerful server-side SDK for uploading files, transforming images, and programmatically interacting with the Filestack API from your Python backend.
# pip install filestack-python
from filestack import Client
client = Client("YOUR_API_KEY")
# Upload a file
new_filelink = client.upload(filepath='/path/to/file.jpg')
print(new_filelink.url)
# Transform an image
transformed_url = client.transform(
'RESIZE_HANDLE',
{'resize': {'width': 100, 'height': 100}}
)
Server-Side
Java
Integrate Filestack with your Java applications for robust, secure server-side file uploads and transformations.
// Add dependency via Maven or Gradle
import io.filestack.FilestackClient;
import io.filestack.FileLink;
import io.filestack.responses.UploadResponse;
Config config = new Config("YOUR_API_KEY");
FilestackClient client = new FilestackClient(config);
String path = "/path/to/file.txt";
UploadResponse response = client.upload(path, false);
FileLink fileLink = response.getFileLink();
Server-Side
PHP
The essential SDK for PHP developers to manage uploads and transformations on the server, perfect for Laravel or Symfony projects.
// composer require filestack/filestack-php
use Filestack\FilestackClient;
$client = new FilestackClient('YOUR_API_KEY');
// Upload a file
$filelink = $client->upload('/path/to/some/file.jpg');
// Transform a file
$transformation = $client->transform(
$filelink->handle,
['resize' => ['width' => 200, 'height' => 200]]
);
echo $transformation->url();
Ready to Build Something Amazing?
We support 15+ programming languages and frameworks. From mobile apps to enterprise backends, we have the tools you need to handle files like a pro.
Everything You Need for File Management
From upload to delivery, our SDKs provide a complete toolkit for your file workflows.
Trusted by innovative companies worldwide
Frequently Asked Questions
Got questions? We’ve got answers. Here are some common questions about our SDKs and platform.
How quickly can I get started with Filestack SDKs?
You can get up and running in minutes! Simply sign up for a free account, grab your API key, and integrate our SDKs using our comprehensive documentation and code examples.
Which file formats are supported for uploads and transformations?
We support 100+ file formats including all common image formats (JPG, PNG, GIF, WebP), video formats (MP4, MOV, AVI), documents (PDF, DOC, XLS), and many more. Our transformation engine can convert between most formats automatically.
Is there a file size limit for uploads?
Free accounts have a 100MB file size limit, while paid plans support files up to 5GB. For enterprise customers, we can accommodate even larger files with custom configurations.
Can I customize the File Picker interface?
Absolutely! Our File Picker is highly customizable. You can modify colors, fonts, upload sources, file restrictions, and much more to match your brand and user experience requirements.
Do you provide webhook notifications for file processing?
Yes! We offer comprehensive webhook support to notify your application when files are uploaded, processed, or transformed. This allows you to build responsive applications that react to file events in real-time.
What security measures are in place for uploaded files?
Security is our top priority. We provide virus scanning, content moderation, access controls, secure HTTPS delivery, and compliance with SOC 2, GDPR, and other industry standards to keep your files safe.