Conversor de XML a JSON
Convierte documentos XML a JSON. Los atributos se convierten en claves con prefijo @; las etiquetas repetidas se convierten en arrays.
¿Qué es el Conversor de XML a JSON?
Pasar de XML a JSON tiene pérdidas en algunos aspectos: XML admite espacios de nombres, instrucciones de procesamiento y secciones CDATA que no tienen equivalentes directos en JSON. Este conversor gestiona el 90 % de los casos: elementos anidados, atributos (con prefijo @) y contenido de texto (#text). Para XML complejo, puede ser necesaria una biblioteca dedicada.
Preguntas frecuentes
¿Qué es el prefijo @?▼
Herramientas relacionadas
JWT Decoder
Decode JSON Web Tokens (JWT) instantly — inspect the header, payload, and signature claims. Runs entirely in your browser; tokens never leave your device. Safe for production secrets.
JSON Formatter & Validator
Format, validate, and minify JSON instantly. Catches syntax errors with line numbers, pretty-prints with adjustable indent, supports large payloads. Runs in your browser — no upload.
XML Formatter & Beautifier
Format and beautify XML documents — proper indentation, line breaks, namespace handling. Useful for SOAP responses, sitemaps, RSS feeds, and Android resource files.
Base64 Encoder & Decoder
Encode and decode Base64 strings.
URL Encoder & Decoder
Encode/decode URL-safe strings.
HTML Entity Encoder & Decoder
Convert special characters to/from HTML entities.