File Upload API for Developers

Ship file uploads
in minutes

Drop-in file upload API. One line of code, unlimited possibilities.

# Install the package
npm install @putfiledev/putfile
Deploy in minutes
99.9% Uptime
upload.js
// Upload any file with one function call
constresult=awaitputfile(file)
console.log(result)

Simple Integration

Two steps to integrate file uploads into your application. No complex setup required.

1

Install & Configure

Add PutFile to your project with a single command. Works with any framework.

npm install @putfiledev/putfile
2

Upload Files

Call the upload function and get back a URL. It's that simple.

const url = await putfile(file)
<100ms
Response time
100MB
Max file size
99.9%
Uptime SLA
REST
API standard

Simple File Uploads That Just Work

Skip the complexity. Focus on building your app while we handle secure file storage.

API Key & Upload

Generate your API key, upload files with one request. Simple authentication, powerful results.

API_KEY → upload

File Keys & Retrieval

Get unique file keys on upload. Use putfile.getFile(key) to retrieve files programmatically.

getFile("abc123")

Secure Storage

Files are securely stored with basic access controls. Your data stays safe and private.

✓ Private by default

Zero Setup

No servers, no databases, no configuration. Just sign up and start uploading in minutes.

~5min to integrate

Start in 30 Seconds

Simple REST API. No SDKs required (but coming soon!)

JavaScript
import {getFile, putfile} from "@putfiledev/putfile"
const key = await putfile(file)
const fileData = await getFile(key)

Coming Soon

Features on our roadmap as we grow

v2.0

Global CDN

Lightning-fast downloads worldwide

v3.0

Advanced Security

Virus scanning & compliance

v4.0

Image Processing

Resize, crop, optimize on-the-fly

Start building with PutFile

Join thousands of developers using PutFile for production file uploads. Get started in under 5 minutes.

Deploy in minutes
99.9% uptime SLA
terminal
# Upload a file with putfile
import {getFile, putfile} from "@putfiledev/putfile"
const key = await putfile(file)
# Retrieve file later
const fileData = await getFile(key)
→ Returns: { key: "abc123" }