Welcome to the official documentation for FormatJson. This guide will help you understand how to use our online JSON formatter, XML editor, UUID generator, Base64 encoder, and User Agent parser to their full potential.
Navigate to the JSON Editor from the sidebar. Paste your JSON payload into the left panel, and use the toolbar above the editor to format, minify, or validate your data. The right panel displays a structured tree view or table view of your parsed JSON.
FormatJson is a powerful, browser-based suite of developer tools designed for developers, data analysts, and anyone working with data. It allows you to easily format, minify, validate, and compare data in real-time without sending your data to any server.
Clean up messy JSON or compress it for production. Use the { } button to format (beautify) your JSON with proper indentation. Use the >_ button to minify it, removing all unnecessary whitespace.
Click the Compare button in the top navigation bar to open the side-by-side diff viewer. Paste your original JSON on the left and the modified JSON on the right, then click the Compute Diff button to instantly see additions, deletions, and changes highlighted. You can also easily copy content from left to right or right to left.
Click the Schema button in the editor toolbar to provide a JSON Schema. The editor will automatically validate your JSON against the schema and highlight any structural errors or missing required fields.
Use the icon to load a local JSON file. Use the dropdown to export your JSON data to various formats including JSON, CSV, TSV, YAML, and XML.
Click the Share JSON icon in the toolbar to generate a shareable link containing your JSON data. The data is compressed and encoded in the URL, allowing you to easily share it with others without saving it to a server.
Similar to our JSON editor, the XML Formatter allows you to format, minify, and validate XML data. It supports syntax highlighting, real-time error checking, and schema validation to ensure your XML is perfectly structured.
Try XML Formatter →Generate universally unique identifiers (UUIDs) version 4 instantly. You can generate a single UUID or multiple UUIDs at once, and easily copy them to your clipboard for use in your applications or databases.
Try UUID Generator →Easily encode plain text into Base64 format or decode Base64 strings back into readable text. This tool is perfect for debugging API responses, handling data transmission, or working with basic authentication headers.
Try Base64 Tool →Analyze User-Agent strings to extract meaningful information. Our parser breaks down the string to identify the browser, operating system, device type, and engine, making it easy to understand client environments.
Try User Agent Parser →Retrieve detailed information about any public IP address, including estimated physical location, ISP, ASN, and time zone.
Try IP Lookup →Explore GraphQL schemas, write queries with auto-completion, and test endpoints securely from your browser.
Try GraphQL Client →Boost your productivity by using these keyboard shortcuts while focused inside the JSON editor panel.
| Action | Shortcut (Windows/Linux) | Shortcut (Mac) |
|---|---|---|
| Copy Content | Alt + Shift + C | Option + Shift + C |
| Clear Content | Alt + Shift + X | Option + Shift + X |
| Switch to Code Mode | Alt + 1 | Option + 1 |
| Switch to Tree Mode | Alt + 2 | Option + 2 |
| Switch to Table Mode | Alt + 3 | Option + 3 |
Have questions about how FormatJson works, data privacy, or specific features? We've compiled a list of the most common questions from our users.
View FAQ Page