Tools / JSON Hosting

JSON Hosting.

Store a JSON document and get a public URL that serves it raw, for configs, fixtures and demos.

Uses server

Sign in to host JSON documents. Each account can store 100 documents of up to 1 MB; reading a document through its public URL works without an account.

About JSON Hosting

JSON Hosting stores a JSON document for you and gives it a stable public URL that returns the raw JSON with the application/json content type. It is handy whenever something needs to fetch JSON over HTTP but setting up a server or bucket would be overkill: test fixtures for a mobile app, a remote feature-flag file, sample data for a tutorial, or a configuration that several scripts share. For example, save a document with {"newCheckout": true, "maxUploadMb": 25}, load its URL from your app at start-up, and later flip newCheckout to false in the editor; the next request already gets the new value, with no deploy. The document is validated before saving, so a missing comma or a trailing comma is reported instead of being published. Formatting and key order are kept exactly as you wrote them. Each account can store 100 documents of up to 1 MB each, and cross-origin requests are allowed, so browser code on any site can fetch the URL. The URL is public but unguessable: it contains a random id with more than 128 bits of entropy. Typical mistakes: storing API keys, tokens or personal data, which anyone with the link can read; expecting a write API at the public URL, which is read-only, since changes go through your account or a token; and relying on caching, because responses ask clients to revalidate on every request.

How to Use

  1. Sign in, give the document a name and paste or type the JSON.
  2. Save it; the JSON is validated and you get a public URL.
  3. Fetch the URL from your app or share it; edit the document whenever the data changes.

Frequently Asked Questions

Do I need an account?

Yes, to create and edit documents. Reading a document through its public URL needs no account.

What are the limits?

Up to 100 documents per account, each up to 1 MB.

Is my JSON reformatted?

No. It is checked for valid syntax and stored exactly as you wrote it, including whitespace and key order.

Can other people see my documents?

Anyone with the link can read a document, so do not store secrets or personal data. The link contains a random id that cannot be guessed.

Related Tools