Percent-encode or decode text for URLs using encodeURIComponent or encodeURI, in both full-string and component modes.. URL Encoder / Decoder is a free online tool from the ToolsRift Developer Tools collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.
Loading URL Encoder / Decoder…
How to use URL Encoder / Decoder
Paste text and choose encode or decode plus component or full-URL mode. Component mode escapes reserved characters like & and = for use inside query values.
Frequently asked questions
What is the difference between encodeURI and encodeURIComponent?
encodeURI keeps URL structure characters like / and ? intact; encodeURIComponent escapes them too, which is right for individual parameter values.
Why does a space become %20?
Space is not a safe URL character, so it is escaped as %20 (or + in form-encoded query strings) to keep the URL valid.
Does it handle Unicode?
Yes — text is encoded as UTF-8 first, so characters like é become multi-byte escapes such as %C3%A9 and decode back correctly.
ToolsRift processes your files in your browser. We use cookies only for basic analytics and to support ads that keep every tool free. See our Cookie Policy.