Convert JSON to well-formed XML with customizable root element, indentation, and optional XML declaration. Handles objects, arrays, primitives, and null values. Download as .xml.
Format, beautify, minify, and validate JSON with syntax highlighting.
Encode and decode Base64 with UTF-8 support and file-to-data-URI.
Encode, decode, and parse URLs with editable query parameters.
Convert text to camelCase, snake_case, kebab-case, and 7 more.
Convert between metric and imperial length units.
Each JSON key becomes an XML element tag. Objects become nested elements, primitives become text content, null values become self-closing tags, and arrays wrap each item in an <item> tag.
Yes. The default root element is "root" but you can type any valid XML tag name. The tool sanitizes the name to ensure it follows XML naming rules.
Array items are each wrapped in an <item> tag. For example, {"colors": ["red", "blue"]} becomes <colors><item>red</item><item>blue</item></colors>.
By default, yes. The tool prepends <?xml version="1.0" encoding="UTF-8"?>. You can disable this with the "XML declaration" toggle if you only need the element content.
Yes. All five XML special characters are properly escaped: & becomes &, < becomes <, > becomes >, " becomes ", and ' becomes '. This ensures the output is always well-formed XML.