JSON Formatter
Format, minify and validate JSON without changing large integers, number notation, key order or string escapes. Import files and locate syntax errors.
Convert UTF-8 text to hexadecimal or binary bytes and decode bytes back to readable text, including Unicode and emoji.
Updates as you type or change an option
Check the bytes behind accented characters or emoji when preparing encoding examples and protocol fixtures.
Choose hexadecimal or binary, then edit either side. Each byte uses two hex digits or eight binary digits, with spaces for readability. You can paste byte sequences with or without whitespace.
Text is encoded as UTF-8, so a character may occupy several bytes. Invalid digits, incomplete bytes and invalid UTF-8 are rejected. Use this to inspect text encodings or prepare byte fixtures. Text input is limited to 256 KiB; this tool does not interpret bytes as an integer.
UTF-8 uses variable-length sequences. Each displayed hex pair or eight binary digits represents one byte, not one character. Incomplete bytes and invalid UTF-8 are rejected.
C3 A9 is the UTF-8 sequence for é. E9 alone is not valid UTF-8, and 0x prefixes are not accepted here. Enter complete hex pairs or eight-bit binary groups, separated by whitespace if needed. For legacy character encodings, use the text file encoding converter.
Your choice about analytics
We use Umami to measure page visits. Analytics is optional, and your tools work either way.
Your current setting allows analytics.
Your current setting does not allow analytics.
The analytics service has changed. Refresh the page after finishing your current work to apply the new settings.
Your browser is sending a Do Not Track or Global Privacy Control signal. Analytics will remain off.
We use Umami to understand which pages people visit and how they find this site. You can decline or change your choice at any time. All site features will still work.
Your choice is saved in this browser for six months. Analytics does not upload files or content you enter in our tools.
Privacy Policy
Comments
0