XML Formatter & Validator
Indent or minify XML and check it is well formed, with the line and column of any problem. Comments, CDATA and mixed content are left as they were.
<a><b>1</b></a> → <a>\n <b>1</b>\n</a>XML 1.0 →Read, fix and convert structured data. Format JSON to find the line a parser choked on, validate it, and move between JSON, YAML, XML and CSV.
Indent or minify XML and check it is well formed, with the line and column of any problem. Comments, CDATA and mixed content are left as they were.
<a><b>1</b></a> → <a>\n <b>1</b>\n</a>XML 1.0 →Formats YAML and reports the quiet mistakes: key:value with no space, duplicate keys, tabs in indentation, and YAML 1.1 versus 1.2 values.
debug: no → a string, not falseArithmetic →Format, minify and validate JSON, with the line and column of any syntax error and a plain explanation of what is wrong.
{"a":1} → {\n "a": 1\n}RFC 8259 →Convert JSON to readable YAML, with quotes added only where a value would otherwise change meaning: yes, 1.0, 12:30 and dates included.
{"a":[1,2]} → a:\n - 1\n - 2YAML 1.2 →Turn CSV into JSON in your browser, with quoted fields, an auto-detected delimiter and optional number and boolean typing.
name,qty → [{"name":"Widget","qty":2}]RFC 4180 →Generate valid, ready-to-paste WordPress code in seconds without configuring a local runtime.
Your input is never uploaded
No submit button, no waiting
Copy, download or share a link
Built by Pixarlabs for WordPress
Clean output that follows WordPress conventions, no bloat, and everything computed in your browser.
Tools run in your browser. Database names, prefixes and secret salts you type are never sent to a server.
$ uploaded: 0 bytesGenerated code uses translatable labels, safely quoted values and the core hooks WordPress expects.
$ add_action( 'init', 'register_book' );Copy the result, download a ready file, or share a link that restores your settings.
$ download wp-config.php