developer

URL Encoder/Decoder

Escape or unescape text as a URL component or a full URL — encodeURIComponent vs encodeURI semantics kept visibly separate, strict malformed-percent errors, and an optional plus/space form mode.

Input

0 B of 2.0 MB used. e.g. a query value or a full URL. Mode, direction and form mode re-derive the result — nothing is fetched or stored.

Result

Encoding mode
Direction

Component encode — encodeURIComponent leaves only A-Z a-z 0-9 - _ . ! ~ * ' ( ) literal — every other character becomes %XX. Safe for a single query value or path segment: / ? & = # % + and space are all encoded.

Paste or type text on the left — the encode result appears here as you type. Pick a mode and direction above; the exact rule is shown.

Paste or type text on the left — the result appears here as you type.

Privacy settings

Checking…

We count anonymous tool use and coarse errors to improve ToolDeck. We do not send your files, pasted text, generated links, or results. Normal network delivery still exposes connection metadata to Cloudflare. Your choice is stored only in this browser's local storage — we do not create a visitor ID. Decline opts out; your browser's Global Privacy Control or Do Not Track signal overrides any choice.

Developer feedback