Free tools › Converters
JSON and XML converter
Paste JSON or XML and convert either way. Attributes become "@name" keys and element text "#text".
Questions
How are XML attributes shown in JSON?
As keys starting with @, for example {"item": {"@id": "7", "#text": "Pen"}}. Repeated elements become arrays.
Is what I type sent anywhere?
No. It's worked out in your browser; nothing leaves your device.
Is it free?
Yes, with no account and no limits. It runs in your browser, so it keeps working even with a slow connection once the page has loaded.
More free tools
- Base64 encode and decodeEncode text to Base64 or decode Base64 back to text, with full UTF-8 and URL-safe Base64. Free, private, in your browser.
- URL encode and decodePercent-encode text for use in a URL, or decode an encoded URL back into readable text. Free, in your browser.
- Colour converterConvert colours between HEX, RGB and HSL, pick one visually and check text contrast for accessibility. Free, in your browser.
- Unix timestamp converterConvert Unix timestamps (seconds or milliseconds) to readable dates in your time zone and UTC, and dates back to timestamps. Free.