Formats JavaScript code using Prettier — the industry-standard JS/TS formatter. Corrects indentation, adds missing semicolons, normalises quote styles, sorts object keys, and ensures consistent spacing. Supports modern JavaScript including ES2024 syntax, arrow functions, async/await, destructuring, and optional chaining.
Paste your JavaScript and get properly formatted output — configure indent size and quote style.
Compare two blocks of text and highlight the differences.
Test regular expressions against sample text with live match highlighting.
Generate one or many UUIDs (v4) instantly.
Count characters against Twitter, LinkedIn, and SMS limits.
Generate MD5, SHA-1, SHA-256, SHA-512 hashes from text.
Escape special characters for JSON strings, or unescape JSON string values.