Nested API response
{"user":{"id":7,"name":"Ada"},"ok":true}Run Format JSON to inspect the user object on separate indented lines.
Prepare text data for development with a JSON formatter and validator, plus a Base64 encoder and decoder. Explore examples and browser-based tools.
Choose a tool or load an example below. Switching tools or loading an example replaces the current input and result.
Load an example into the workspace above, then edit it or try another variation.
{"user":{"id":7,"name":"Ada"},"ok":true}Run Format JSON to inspect the user object on separate indented lines.
[{"id":1,"tag":"alpha"},{"id":2,"tag":"beta"}]The result keeps two records in the same array order.
{"accountId":"9007199254740993","enabled":false,"limit":null}The ID is deliberately a string. Formatting does not validate your application schema.
{"enabled":true,}Intentionally invalid: Format JSON displays an error. Remove the comma after true and try again.
Hello 世界
Expected result: SGVsbG8g5LiW55WM
SGVsbG8=
Expected result: Hello
Make tangled JSON readable. Format, validate, and copy.
Encode or decode text, right here in your browser.
Format compact API responses and check configuration syntax. The JSON formatter adds readable indentation, but does not validate an application schema.
Use the json formatterEncode UTF-8 test strings or inspect encoded text values. Base64 changes representation; it does not encrypt your data.
Use the base64 converterLoad the API example, format it and inspect the nested user object. Substitute a small synthetic response when reproducing a bug; formatting checks syntax, not API correctness.
Try the configuration example and then the trailing-comma example. Compare successful formatting with the syntax error before reviewing application-specific fields elsewhere.
Encode Hello 世界, copy the result, switch to Decode Base64 and paste it back. The round trip should recover the original UTF-8 text.
The configuration fixture stores a long ID in quotes. Keep precision-sensitive identifiers as strings and preserve the original document when investigating data loss.
The current tools accept text pasted into the browser. Binary file conversion, CSV conversion, and uploads are not available in this collection.
The formatter accepts standard JSON. Comments, JSON5, and trailing commas are not supported. Keep precision-sensitive numbers as strings.
JSON parsing and Base64 conversion take place in your browser. The tools do not upload your input to a processing server.
No. The parser reports a syntax error. Edit the input yourself and retry; the trailing-comma example provides a small practice case.
No. This collection formats standard JSON and converts UTF-8 text to or from Base64. It does not convert between structured data formats.
No. JWT segments typically use Base64URL, and image payloads contain binary bytes. This tool is designed for standard Base64 text fixtures.