URL Encoder / Decoder
Encode URL
What it does
Runs Locally
Encoding and decoding happen in your browser. Query values and tokens are never uploaded.
Standard Component Semantics
Uses encodeURIComponent and decodeURIComponent, so results match what JavaScript produces.
Unicode and Emoji
Non-ASCII text is encoded as UTF-8 percent sequences and decoded back correctly.
Clear Malformed-Escape Errors
A broken sequence like %E0%A4%A is located and explained instead of crashing.
Frequently asked questions
Is my text sent to a server?
No. Encoding and decoding run entirely in your browser. Nothing you type is uploaded or stored. The page does download the code needed to run the tool.
Does this encode a whole URL?
No. It encodes one URL component, such as a query value. Reserved characters like :, /, ?, and & are encoded too, so pasting a full URL would break its structure. Encode the individual parts instead.
Why is a space %20 and not +?
encodeURIComponent writes a space as %20. The + form belongs to HTML form encoding. Decoding here leaves + unchanged for the same reason.
What happens if I encode text that is already encoded?
It is encoded again: % becomes %25, so hello%20world turns into hello%2520world. Decoding reverses one level at a time.