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
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.

