fiokit.

XML and JSON Converter

Convert XML elements and attributes to JSON or build an XML document from JSON with a root element.

Hover over or focus a field for help. Press Escape to close.

Up to 200,000 characters. Processed locally.
0 UTF-16 units
0Words
0Characters
0Without spaces
0Lines

How it works

Paste your content or load the example. Choose the available options, run the tool, then copy or download the result.

A practical example

XML

<person><name>Anna</name></person>

Frequently asked questions

Is my input sent to a server?

No. Your content is processed in this browser. It is never sent to the server or saved.

What should I know about XML and JSON Converter?

Attributes use the @_ prefix. The standard mode adds a root element; ordered mode preserves element order in an array representation. XML mixed content and namespace semantics are not a lossless round trip. DTDs and custom entities are rejected.