Werkery

XML ↔ JSON Converter

Convert XML to JSON or JSON to XML. Browser-native DOMParser for XML, recursive object builder for JSON.

Tool by ·
ad slot ()
ad slot ()

How it works

  1. 1
    Pick direction
    XML→JSON or JSON→XML.
  2. 2
    Paste input
    Live conversion.

Frequently asked

How are XML attributes represented?

As keys with '@' prefix in the JSON output (e.g. `{"@id": "x"}`). Text content goes under '#text'.

Get new tools first.

One tool per week. No ads. Unsubscribe anytime.

Related tools

Tool designed and editorially reviewed by Felix Brübach. Text drafted with AI assistance and reviewed for legal and factual accuracy before publication. Not legal advice — for complex cases, consult a lawyer.
ad slot ()