Instant Cloud Storage for Your App

Store files in the cloud with a simple JavaScript API.
No buckets, no CDN config, no infrastructure to manage.

Add Storage to Your App See Tutorials

File System API

Familiar file operations that work just like you'd expect.

  • Write, read, copy, move, rename, delete
  • Create directories and list contents
  • Upload files from user input

No Infrastructure

No buckets to configure, no CDN to set up, no availability to manage. Just write code and store files.

User-Pays Model

Build apps without worrying about storage or bandwidth costs. With User-Pays Model, users cover their own costs.

No Backend Required

Store files directly from the browser with client-side JavaScript. No server code needed.

Works Everywhere

Use from any frontend with a simple script tag, or install via NPM for Node.js projects.

How It Works

1 Include Puter.js

Add Puter.js to your app:

<script src="https://js.puter.com/v2/"></script>

or with NPM:

npm install @heyputer/puter.js

2 Store Files in the Cloud

Use the simple JavaScript API to store files:

puter.fs.write('hello.txt', 'Hello, world!');

View the Cloud Storage documentation for a full list of available features.

That's it!

No buckets to configure, no CDN to set up, no infrastructure to manage. The files are stored in the cloud instantly.

Browse Tutorials Read the Docs Try the Playground

Simple API, Powerful Features

Write files, read files, create directories, and more.
The API handles all the complexity so you can focus on building your app.

// Write a file
puter.fs.write('hello.txt', 'Hello, world!');

// Read a file
const content = await puter.fs.read('hello.txt');

// Create a directory
await puter.fs.mkdir('my-folder');

// List files in a directory
const files = await puter.fs.readdir('my-folder');

Find more examples →

Frequently Asked Questions

What is Object Storage?

Object storage is a way to store files in the cloud. With Puter.js, you can save, read, and manage files directly from your JavaScript code without setting up servers, configuring buckets, or managing infrastructure.

What is Puter?

Puter is a cloud platform that provides storage, AI, and other cloud services through a simple JavaScript API via Puter.js. It handles authentication, infrastructure, and scaling so you can focus on building your app.

How much does it cost?

With the User-Pays model, users cover their own storage and bandwidth costs through their Puter account. This means you can build apps without worrying about infrastructure expenses.

How do I add cloud storage to my app?

Add the Puter.js script to your app with <script src="https://js.puter.com/v2/"></script>, then use puter.fs.write() to save files and puter.fs.read() to retrieve them. Check out the documentation for more examples.

Add Cloud Storage to Your App

Get started with Puter.js — add cloud storage in a few lines of code.

Get Started Now

Browse Tutorials Try the Playground