A Simple Data Storage API

A lightweight API for storing data without managing a backend.


Get API Key View Docs


Like LocalStorage but persistent, secure, and accessible across devices. Perfect for indie devs, static pages, prototypes and hobby apps.

🌐 Serverless Database

Create your users' accounts and logins, store their preferences - all with no backend. No databases to create and maintain.

⚑ No Surprise Charges

You get unlimited egress, users, and bandwidth. No surprise fees like compute charges or per-byte data transfer costs.

πŸ”’ Secure

Each project is protected by an isolated API Key, built-in RLS, and full end-to-end encryption.

πŸ’» No vendor lock-in

Your users, your apps - your data. All managed data can be backed up and exported.

πŸ”₯ Replace localStorage

Data stored with prefs.us is persistent, survives device data wipes, and handles device switching.

πŸš€ No Setup

No account to create. No sign-ups. Hands-off approach to storing data with a on-the-fly generated secure API key.

No Logins. No Accounts.

logo
    No accounts to create. No projects to set up. No storage buckets to configure just to get going. Simplicity of localStorage with all benefits of a full backend.

No Backend Database.

logo
Create logins, track sign ups, store your user's preferences - all with no databases to manage, no backend to maintain. Sometimes we just need a quick way to persist some data without getting into creating a dedicated data store.

Light-weight API

logo
Use Prefs.us API When ...
  • Need a quick way to persist some data without creating a dedicated backend.
  • Don't want to pollute an existing storage with temporary data that is ephermal in nature.
  • The data is only needed for a short period of time. "Store and forget" with isolated time-to-live (TTL) for each piece of data.

Local Storage Alternative

logo
LocalStorage in the Browser:
  1. Does not survive data wipe or device reset
  2. Is not secure: data stored in plain text.
  3. Limited to 5 MB of storage.
  4. No device switching
Prefs.us fixes that. If you rely on local storage to preserve user data - but are concerned about the data wipe, data restoration, or supporting multiple devices then prefs.us may be for you.

”it's like LocalStorage - but better! My static pages now have a database backend!”

-- said no one on Reddit ever
(but it's still true)

β€œPerfect for my side projects. I didn't want to run a database just to store a few settings.”

Mae Dapnaim Bot Developer

β€œI use it for prototypes, demos, and hackathons. Simple API and super reliable.”

Luke Inghud Startup Builder

Store Data with One Request

Key / value pair

  let settings = '{ "score":"200", "theme": "dark" }';
  
  prefs_us.key("settings").write(settings);
  
  prefs_us.key("settings").read( (response)=>{ settings = response.value; });
  
  


set Item / get Item

  let userData = '{ "score":"200" }';
  
  prefs_us.setItem("user", userData);
  
  prefs_us.getItem("user", (response)=>{ userData = response.value; });
  
  


Object serialization

  prefs_us.putObject("myObj", objInstance);
  
  prefs_us.getObject("myObj", (response)=>{
      let instance = null;
      if (response.success) {
        instance = response.value;
      }
  });
  

Dashboard

A simple dashboard helps you manage your API keys. You can review stored data, monitor data ingress and egress, and other metrics.

prefs.us dashboard screenshot

User Case Studies


ultimafaux screenshot

UltimaFaux.com


The fan remake of the classic.

SpeechBubbles.app


A speech aid tool for non-verbal world.

enableplayer.app


A self-moderated simplified YouTube client for special needs users on mobile devices.

Start Building Today

Stop worrying about databases for your side projects.