JSON Formatter
Format, minify, and validate JSON with optional key sorting.
- On your device
- No signup
Private on your device
Your information stays on your device and is not uploaded.
Format, minify, and validate JSON with optional key sorting.
Generate UUIDs for apps, tests, and databases.
Generate sortable ULIDs locally for apps and tests.
Generate JSON Schema from sample JSON automatically.
Generate SHA-256, SHA-384, and SHA-512 hashes.
Compare two JSON documents and instantly see added, removed, and changed values. JSON mode highlights changed keys with path hints.
Format, minify, and validate XML with readable indentation.
Compare two XML documents and see tag, attribute, and text line changes.
Define fields such as id, name, and email, then generate mock JSON arrays locally for demos, fixtures, and tests. Data never leaves your browser.
1. Define fields and types for your schema. 2. Set how many records to generate. 3. Generate fake JSON. 4. Copy the array into a mock API, Storybook fixture, or test file.
Example: schema id, name, email with count 3 yields three objects with plausible names and emails for UI demos.
Define a simple schema with fields like id, name, and email, then generate fake JSON records locally for fixtures, demos, and tests.
Results are based on the inputs you provide and may not cover every edge case. This tool is for general use and is not professional advice.
Your data stays on your device and is not uploaded.
FAQ
Yes. It is free to use and you do not need to sign in or create an account.
See the privacy note on this page. Many tools run on your device; some heavier file tools may use secure temporary processing when required.
Yes. Open this page on your phone or tablet, enter your inputs, and use the on-screen controls.
Page last reviewed: