Encoding tools
Encode and decode text, URLs, and binary formats.
When do I use which?
| If you want to… | Use | Notes |
|---|---|---|
| Ship binary data through text | Base64 | Expands ~33%. Not encryption. |
| Put text inside a URL | URL Encode | Component vs full URI matters. |
| Put text inside HTML | HTML Entities | Just & < > " ' in most cases. |
| Fingerprint or checksum | Hash (SHA-256) | One-way. Same input → same output. |
| Authenticate a message | HMAC | Needs a shared secret key. |
| Keep something confidential | AES Encrypt | Symmetric, browser-side. |
AES Encrypt / Decrypt
Encrypt or decrypt text with AES-GCM, deriving a key from a passphrase via PBKDF2 — all in your browser.
Base64 Encoder / Decoder
Encode or decode Base64 strings instantly.
Escape / Unescape
Escape or unescape strings for JSON, JavaScript, HTML attribute, XML, and SQL contexts.
Hash Generator
Compute SHA-1, SHA-256, SHA-384, and SHA-512 hashes from text or a file.
HMAC Calculator
Compute HMAC-SHA1, SHA-256, SHA-384, or SHA-512 over a message and secret — for API signing or message auth.
HTML Entity Encoder / Decoder
Encode HTML special characters or decode named and numeric entities back to text.
JWT Builder
Build a JWT — set headers, claims, and sign with HS256/384/512 entirely in your browser.
JWT Decoder
Decode and inspect a JSON Web Token's header, payload, and expiry.
PEM Key Formatter
Validate and reformat PEM blocks — keys, certificates, CSRs — into clean 64-character lines.
Python String Escape / Unescape
Escape arbitrary text to a Python string literal — \x, \u, \U, octal — or decode one back to raw text.
SQL Escape / Unescape
Safely quote string literals for ANSI, MySQL, or PostgreSQL — and reverse it.
Unicode Codepoint Converter
See any character as U+XXXX, decimal, UTF-8 bytes, JS / Python / Rust escapes, and HTML entities.
URL Encoder / Decoder
Percent-encode and decode URL components safely.
UTF-8 BOM Stripper / Adder
Detect, strip, or add the UTF-8 byte-order mark (EF BB BF) to text files.