JSON Formatter
Format, beautify and validate JSON instantly in your browser. Free online JSON formatter with 2/4-space and tab indentation, no signup, 100% client-side.
Paste XML below to indent and beautify it. The tool also validates your markup and reports parse errors, and can minify XML back to a single line.
Input
<user><name>Ada</name><roles><role>admin</role></roles></user>
Output
<user>
<name>Ada</name>
<roles>
<role>admin</role>
</roles>
</user> These buttons share the page link, not your input.
Your current input will be stored in the link after the # symbol, not uploaded to HandyBrowserTools. Anyone with this link can read that text. If you send or post it, the service you choose also receives the link. Do not include passwords or private information.
Yes. Your input is parsed with the browser's built-in XML parser, and any well-formedness error is reported before formatting.
Yes, the Minify button strips whitespace between tags to produce compact single-line XML.
No, parsing and formatting run entirely in your browser.
Format, beautify and validate JSON instantly in your browser. Free online JSON formatter with 2/4-space and tab indentation, no signup, 100% client-side.
Encode text to HTML entities or decode entities back to text online. Escape < > & quotes for safe embedding, free and client-side.
Free live Markdown preview with a side-by-side editor. GitHub-flavored rendering and instant updates, 100% in your browser, no uploads.