DevPouch
Favorites
No favorites yet
Text & Code
Markdown Editor
HTML Previewer
Text Statistics
String Case Converter
Text Diff Checker
Git Command Helper
Data & Formatting
JSON Formatter
XML ⇆ JSON Converter
YAML ⇆ JSON Converter
CSV to JSON Converter
JSON to C# Classes
Data Validator
Encoders & Decoders
Base64 Encoder/Decoder
URL Encoder/Decoder
Hash Generator
AES Encryption/Decryption
Generators
Password Generator
GUID Generator
QR Code Generator
Test Data Generator
Lorem Ipsum Generator
Color & Design
Color Converter
Color Palette Generator
Image & Media
Image Resizer
Image Format Converter
Image Cropper
Image Rotator
Image Compressor
Image Watermark
Image Metadata Viewer
PDF Tools
PDF Merger
PDF Splitter
PDF Compressor
PDF to Images
Images to PDF
PDF Text Extractor
PDF Watermark
Show 4 more categories
Converters
XML ⇆ JSON Converter
Convert between XML and JSON formats
XML → JSON
JSON → XML
Swap
Load Sample
XML Input
JSON Output
Convert XML to JSON
XML to JSON
• Attributes become @attributes object
• Text content becomes #text property
• Multiple elements with same name become arrays
• Preserves XML structure and hierarchy
• Handles namespaces and attributes
JSON to XML
• @attributes object becomes XML attributes
• #text property becomes text content
• Arrays create multiple XML elements
• Nested objects become nested XML elements
• Generates well-formed XML