The easiest way to store data on the decentralized web.
Store and retrieve with ease
Most decentralized storage services either need you to jump through hoops (like buying some cryptocurrency) or aren't truly decentralized.
With Web3.Storage, things are both easy-to-use and trustless! Upload any data via our API or our web UI for free. The data will end up on a decentralized set of IPFS and Filecoin storage providers.
1 // store.mjs
2
3 import { Web3Storage, getFilesFromPath } from 'web3.storage'
4
5 const token = process.env.API_TOKEN
6 const client = new Web3Storage({ token })
7
8 async function storeFiles () {
9 const files = await getFilesFromPath('/path/to/file')
10 const cid = await client.put(files)
11 console.log(cid)
12 }
13
14
Run it with
npm i web3.storage
API_TOKEN=YOUR_TOKEN node ./store.mjs
Web3.Storage is built for scale
Why Web3.Storage?
Simple
Open
Free
Frequently Asked Questions
Web3.Storage offers a simple interface that allows users and developers to take advantage of the vast array of decentralized storage provided by the Filecoin network.
The unique economics of Filecoin allow Web3.Storage to be completely free to use, while still ensuring that storage providers have a strong incentive to preserve user data for the long term.
Get Started with Web3.Storage
npm install web3.storage
curl -X POST —data-binary “@foo.gif” https://api.web3.storage/upload
Trusted by the future
Web3.Storage is the easiest way to build on the decentralized web from hackathon projects to production code at scale.
See what people building the future of the web today have to say, and get started.