Base64 Encode / Decode
Text ↔ Base64 / Base64URL, Unicode and emoji safe.
Convert text to Base64 and back, right in the browser. Unicode and emoji are UTF-8 encoded first, so nothing turns into mojibake.
- Standard Base64 uses + and / with = padding, which need escaping in URLs. The Base64URL variant swaps them for - and _ and drops the padding — that is what JWTs use.
- "Use result" feeds the previous output back as input for round-trip checks.
- Base64 is an encoding, not encryption — anyone can reverse it. Never use it to protect passwords or keys.
- Everything runs locally; nothing is uploaded.
URL Encode / Decode
Percent-encode a full URL or one parameter, and decode it back.
Percent-encode a full URL or a single parameter, and decode it back, live as you type.
- "Parameter" mode uses encodeURIComponent and escapes everything (including / ? & =) — right for building query strings.
- "Full URL" mode uses encodeURI and keeps structural characters like : / ? # @ & =, escaping only spaces and non-ASCII.
- Decoding requires complete percent sequences; a stray % raises an error. Spaces should be %20.
HTML Entities
Escape special characters to HTML entities, or decode them back.
Named entities cover & < > " '; the rest become numeric entities as needed.
Escape & < > " ' to HTML entities, or decode entities back to plain text.
- & is escaped first, avoiding the classic double-escaping &lt; trap.
- Tick "Also escape non-ASCII" to turn Chinese text into &#x…; numeric entities for ASCII-only channels.
- Decoding uses the browser's native parser: named, decimal and hex entities all work.
Unicode Escapes
Convert text to \uXXXX / \u{...} escapes and back.
Convert text to \uXXXX / \u{...} escapes and back; ASCII passes through untouched.
- Characters outside the BMP (emoji) are emitted as \u{...} automatically.
- Decoding accepts both \u4e2d and \u{1f389} forms.
- Handy for debugging mojibake and embedding non-ASCII in JSON / JS source.
JSON Formatter
Validate, pretty-print or minify JSON with 2/4-space or tab indent.
JSON is validated as you type; pretty-print with 2/4 spaces or tabs, or minify to one line.
- Parse errors show the exact message — fix the input first.
- Minify produces a single line for transport; pretty-print is for reading and diffs.
- Numbers, key order and Unicode escaping follow standard JSON.parse / stringify semantics.
JSON → YAML
Convert JSON to equivalent YAML, entirely locally.
Convert JSON to equivalent YAML, entirely locally with no external service.
- Strings that need quoting are detected automatically: true / null / number-like values, unsafe leading characters, text containing : #.
- Empty objects print {} and empty arrays []; nesting uses block indentation.
- Ctrl / ⌘ + Enter converts.
- One-way only (JSON → YAML); YAML's looser syntax is not parsed here.
Radix Converter
Convert between binary, octal, decimal and hex; big numbers via BigInt.
Enter a value and its source radix; binary, octal, decimal and hex all update at once.
- Computed with BigInt — long values never lose precision.
- Accepts 0x / 0b / 0o prefixes plus space, underscore and comma separators.
- Negatives supported; hex output is uppercase.
Case Converter
Switch between camelCase, snake_case, kebab-case and more.
Splits any naming style into words and shows six conventions at once; click a result to copy.
- Detects camelCase, snake_case, kebab-case, spaces and dots.
- Run of capitals splits as words: HTTPServer → HTTP + Server.
- Outputs camelCase / PascalCase / snake_case / kebab-case / CONSTANT_CASE / Title Case.
Color Converter
Convert between HEX, RGB and HSL with a live swatch.
Convert between HEX, RGB and HSL with a live swatch preview.
- Accepts #abc shorthand and rgb(255,122,69); input is normalised to #rrggbb.
- The picker and text field stay in sync; click the RGB / HSL results to copy.
- HSL is rounded to degrees / percentages — plenty for daily color picking.
Chinese Numerals
Convert numbers to lowercase/uppercase Chinese and RMB amounts.
| Lowercase | — |
|---|---|
| Uppercase | — |
| RMB amount | — |
Three rows — lowercase Chinese, uppercase Chinese and an RMB amount — click any row to copy.
- Supports up to 15 integer digits (below 千万亿), negatives and decimals.
- The amount follows financial conventions: zero padding (10001 → 壹万零壹), jiao/fen (0.5 → 伍角), and 「整」 when there is no fraction.
- Lowercase reads 10–19 as 十X; uppercase keeps 壹拾.
- Amounts round to fen (2 decimals) per RMB rules.
Password Generator
Crypto-random passwords with custom sets, length and strength.
Crypto-random passwords with your choice of sets and length, plus an entropy estimate.
- Randomness comes from crypto.getRandomValues with rejection sampling, so there is no modulo bias.
- "No look-alikes" drops 0 O 1 l I and quote characters.
- Entropy ≈ length × log2(pool size): 16 chars over four sets is ~95 bits — fine for daily use; 20+ for critical accounts.
- Passwords are generated locally and never sent anywhere.
AES Encrypt / Decrypt
Password-based AES-256-GCM encryption and decryption with PBKDF2.
Password-based AES-256-GCM encryption; the ciphertext is base64 and safe to copy around.
- Keys are derived with PBKDF2-SHA256 (150k iterations) and fresh random salt + IV — the same plaintext encrypts differently every time, which is expected.
- Format = base64(16-byte salt + 12-byte IV + ciphertext); decrypt anywhere with the same scheme, including right here.
- GCM verifies integrity: a wrong password reports "decryption failed".
- The page stores nothing — keep the password yourself; strength depends entirely on it.
Hash
SHA-256/384/512, SHA-1 and MD5 digests as you type.
| Algorithm | Digest |
|---|---|
| MD5 | — |
| SHA-1 | — |
| SHA-256 | — |
| SHA-384 | — |
| SHA-512 | — |
Computed locally with Web Crypto; MD5 uses a built-in implementation. MD5 and SHA-1 are for legacy checks only — do not use them for security. Empty input hashes the empty string.
SHA-256/384/512, SHA-1 and MD5 hex digests as you type, all computed locally.
- The SHA family uses Web Crypto; MD5 is a bundled pure-JS implementation (Web Crypto omits it on purpose).
- SHA-256 is the sensible default. SHA-1 and MD5 have practical collisions — legacy integrity checks only, never security.
- Do not hash passwords with these fast hashes; use a salted slow KDF such as Argon2, scrypt or bcrypt.
- Empty input shows the digest of the empty string.
JWT Decoder
Expand a JWT header and payload, and check expiry.
—
—
Paste a JWT to expand its header and payload, with exp / iat / nbf converted to dates and expiry checked.
- A JWT is three Base64URL segments joined by dots; this decodes the first two only — no signature verification.
- Verification needs the key, and shipping a key in a web page publishes it. Valid JSON does not mean a trustworthy token.
- Tokens are as sensitive as passwords; do not paste them into sites you do not trust.
- Decoding is fully local — the token never leaves your browser.
Regex Tester
Live-match a pattern, listing every match and capture group.
| # | Index | Match | Groups |
|---|
Type a pattern and test text; every match and capture group is listed live.
- Flags g i m s u y are supported; invalid characters are filtered with a notice.
- The table shows each match's index, position, text and groups (non-participating groups show —).
- Zero-width matches advance automatically to avoid infinite loops; at most 100 rows are listed.
UA Parser
Detect browser, engine, OS and device type from a UA string.
| Browser | — |
|---|---|
| Engine | — |
| OS | — |
| Device | — |
Parsed as you type. UAs can be spoofed — use for quick identification, never for security decisions.
Paste a User-Agent string to identify browser, engine, OS and device type.
- Detection checks Edge / Opera / Samsung markers first so Chromium forks are not misreported as Chrome.
- HeadlessChrome and crawler fingerprints are flagged as bots.
- UAs are trivially spoofed — use for quick identification, never for security decisions or unique-user counting.
URL Parser
Break a URL into protocol, host, port, path, hash and query params.
| Name | Value |
|---|
Parsed as you type, entirely locally.
Parses protocol, host, port, path, hash, origin and a query-parameter table as you type.
- When the port is omitted, the protocol default is shown (http 80 / https 443) and marked as such.
- Parameters are listed in order with keys and values decoded (+ and %20 both count as spaces).
- Parsing uses the browser's native URL constructor; incomplete URLs raise an error.
Timestamp
Unix timestamps ↔ readable dates, seconds or milliseconds.
Unix timestamps ↔ readable dates: shows local time, UTC, ISO 8601 and relative time at once.
- Ten-digit input is read as seconds, thirteen as milliseconds; "Use now" grabs the current time.
- JavaScript's Date.now() returns milliseconds while many APIs store seconds — the classic gotcha.
- Timestamps carry no timezone: the same number rendering as different clock times per zone is expected.
- Relative time follows the browser language.
Unit Converter
Convert length, mass, data-size, temperature and time units.
Convert across length, mass, data size, temperature and time with exact factors.
- Length from millimetres to miles; mass from grams to ounces; temperature across °C / °F / K (offset-aware).
- Data sizes use the 1024 convention (KiB semantics), matching file managers; use the Byte Converter for 1000-based values.
- "Swap" reverses direction; very large or small results switch to scientific notation.
Byte Converter
Convert byte sizes under both the 1024 and 1000 standards at once.
One input, two standards: 1024-based (KiB / MiB / GiB / TiB) and 1000-based (kB / MB / GB / TB) side by side.
- The input unit follows the 1024 convention, matching what operating systems display.
- Vendors count 1000 while systems count 1024 — that is why a "1 TB" drive shows ~931 GB.
- Six significant digits; huge values fall back to scientific notation.
No matching tool — try another keyword.