XML Validator & Pretty Printer
Validate XML well-formedness and pretty-print with syntax highlighting.
❌
Invalid XML
Line 1, Col 1: ReferenceError: DOMParser is not defined
1<?xml version="1.0" encoding="UTF-8"?>2<bookstore>3 <book category="fiction">4 <title lang="en">The Great Gatsby</title>5 <author>F. Scott Fitzgerald</author>6 <year>1925</year>7 <price>10.99</price>8 </book>9 <book category="science">10 <title lang="en">A Brief History of Time</title>11 <author>Stephen Hawking</author>12 <year>1988</year>13 <price>15.99</price>14 </book>15</bookstore>
Lines
15
Characters
410
Elements
11
Size
0.4 KB
Frequently Asked Questions
Related Tools
📄{ }🔄🔍📊🔀
XML Formatter
Format, indent, and beautify XML code instantly. Minify XML to reduce file size. Validate XML structure.
JSON Formatter
Format, validate, and minify JSON data with syntax highlighting.
Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 strings back to plain text.
Regex Tester
Test and debug regular expressions in real-time. Matches highlighted, capture groups, replacements.
CSV to JSON Converter
Convert CSV data to JSON arrays and JSON arrays back to CSV. Custom delimiters supported.
Text Diff Checker
Compare two texts and see additions, removals, and unchanged lines highlighted side by side.