Loading saved snippets from this browser.

Keep a reusable library of JSON examples

Save a named JSON fragment when you repeatedly need the same request body, sample response, or test fixture. The library belongs to this browser profile. It is useful for development examples, but it is not a cloud backup or a place to store credentials.

Build a reusable JSON fixture library for an API

How to use Snippets Manager

  1. Click New Snippet and enter a title and JSON.
  2. Save the snippet to browser storage.
  3. Use search, import, or export to manage your collection.

Practical examples

Save a reusable pagination request

Input or settings

Title: First page
JSON: {"page":1,"pageSize":25}

Expected result

A saved snippet named First page containing page and pageSize.

Search for the title later, then view or copy the JSON without rebuilding the request.

Import a small fixture collection

Input or settings

[{"title":"Empty result","data":{"items":[]}},
 {"title":"One result","data":{"items":[{"id":"demo-1"}]}}]

Expected result

Two imported snippets: Empty result and One result.

Import Library accepts JSON records. Review the import before confirming; imported entries receive new local IDs.

What saving and exporting mean

A snippet needs a title and valid JSON. An optional description can explain the scenario. Search checks titles and content, while duplicate creates an independent entry you can edit.

Saving uses localStorage on this site. Clearing site data, using another device, or closing a private-browsing session may remove access to your library. Export important records before clearing your browser.

Saved JSON uses JavaScript numbers. Store long account numbers and identifiers as quoted strings to avoid precision loss above 9,007,199,254,740,991. Corrupt or unsupported saved libraries block writes to protect the existing data.

When this tool helps

  • Collect request bodies for manual API testing.
  • Keep empty, success, and error fixtures together.
  • Export example data to move it to another browser.

Questions about Snippets Manager

Does my library sync across devices?

No. Export JSON in one browser and import it in the other. Import adds records, so importing the same backup twice can create duplicate entries.

Can I undo a deletion?

The deletion notification offers Undo while it is available. For longer-term recovery, keep an exported backup.

Can a snippet contain an array?

Yes. The snippet’s data may be any valid JSON value. For a named import, place that value in a record’s data field.