JavaScript Beautifier
Re-indent minified JavaScript: one statement per line, braces by depth, operators spaced, with strings, templates and regexes untouched.
if(a){b()} → if(a) {\n\tb()\n}Tokeniser →The small jobs between writing code and shipping it: format, validate, encode, convert, and generate the data you need to test with.
Re-indent minified JavaScript: one statement per line, braces by depth, operators spaced, with strings, templates and regexes untouched.
if(a){b()} → if(a) {\n\tb()\n}Tokeniser →Strip comments and indentation and join the lines it is safe to join, without renaming anything or risking automatic semicolon insertion.
const a = 1; // note → const a=1;Tokeniser →Translates jQuery a statement at a time, so a setter becomes a loop and a getter becomes one element, and leaves what it cannot translate exactly as it was.
Setters loop, getters do not · plugins flaggedArithmetic →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 →Decode a JWT in your browser: both JSON parts, what each registered claim means, and whether the token is inside its validity window right now.
header.payload.signature → decoded claimsRFC 7519 →Write markdown, watch it render, and take the HTML. Tables, task lists and fenced code included; pasted HTML and javascript: links are not.
## Heading → <h2 id="heading">Heading</h2>CommonMark →Paste a spreadsheet range or a CSV and get an aligned Markdown table, with pipes inside cells escaped so the table does not silently break.
Tabs in, aligned pipes out, | escapedArithmetic →Mail exchangers for a domain in priority order, each resolved, plus the SPF and DMARC records that decide whether somebody else can send mail as you.
MX, SPF and DMARCDNS →Hash text with MD5, SHA-1, SHA-256, SHA-512 or CRC32 in your browser. UTF-8 bytes, so the digest matches what md5sum and shasum produce.
abc → ba7816bf8f01cfea414140de5dae2223…FIPS 180-4 →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