← Back to HubEveryday Digital Box

Developer tools

URL Encoder and Decoder.

Encode or decode components and full URIs without leaving this page.

Your text is processed in your browser.

Preview settings

A + sign is literal, never a space. These are URI codecs, not form-data decoding.

Updates as you type or change a setting

Original preserved
0 / 100,000 UTF-16 units · No silent truncation
Live preview
Input UTF-16 units
—
Output UTF-16 units
—

Ready.

Exact rules, limits & privacy

Default: encodeURIComponent. Component decoding uses decodeURIComponent; full-URI modes use encodeURI/decodeURI. Full-URI encoding preserves reserved syntax such as :/?#&=+, while component encoding escapes it. Native component encoding leaves A–Z a–z 0–9 - _ . ! ~ * apostrophe and parentheses unchanged. decodeURI preserves percent escapes for reserved characters; component decoding decodes them. Plus signs stay plus on decode; encode-component produces %2B for plus. This is not application/x-www-form-urlencoded, a URL parser/validator, navigation or normalization. Malformed percent escapes/invalid encoded UTF-8 fail clearly; encoding rejects lone UTF-16 surrogates. Empty text produces empty output. No trimming or Unicode normalization. Output cap is 1,000,000 UTF-16 units; the 100,000 input-unit cap bounds native codec expansion below it. Export .txt.

Input limit: 100,000 UTF-16 code units. Larger text remains intact and current results are cleared with an error. Counts use UTF-16 units, not visual characters. No uploads, input tracking, saved drafts or external text processing. Page delivery and Tailwind Play CDN styling make ordinary network requests; inline CSS keeps the page usable without the CDN. Copy requires browser support/permission. Downloads are UTF-8 text. Empty results cannot be copied or downloaded.