Skip to content

Formateurs & Code

Convertisseur JSON en XML

Convertisseur JSON en XML gratuit. Collez n'importe quel JSON valide et obtenez instantanément un XML bien structuré. Parfait pour les intégrations d'API et les systèmes hérités.

Runs in your browser
JSON · source
lines: 0chars: 0size: 0 B
JSON
XML · target
lines: 0chars: 0size: 0 B
XML

Note de la rédaction

Understanding · Trees, but spelled differently.

Ce chapitre approfondi n'est actuellement disponible qu'en anglais. L'outil de conversion ci-dessus fonctionne dans votre langue ; le long article explicatif n'a pas encore été traduit.

Questions fréquentes

Quick answers.

How are JSON arrays converted to XML?

Each array item becomes a repeated element with the parent key. So {"items":[1,2]} → <items>1</items><items>2</items>.

What about JSON keys that aren't valid XML names?

Keys with spaces or special characters are sanitised to valid XML names. Numeric keys are prefixed with an underscore.

Is my JSON sent anywhere?

No — conversion runs entirely in your browser. Your data never leaves your device.

Can I convert XML back to JSON?

Yes — see our XML to JSON converter for the reverse direction.

Is the converter free?

Yes — free, no signup, runs in your browser.

Les internautes recherchent aussi

Use with

What people reach for next.

Outils similaires

More in this room.

Tout voir dans Formateurs & Code