URL Encoder Decoder

Results

Characters are Unicode characters; bytes are UTF-8 bytes. URL encoding changes how text is written, it does not compress it.

Side-by-side comparison

Yellow marks characters that were changed by encoding or are percent sequences.

Advanced tools

Different parts of a URL follow different encoding rules, so each tool below uses the rule for its own part.

Query parameter encoder
Query parameter decoder
Full URL parser
URL component encoder / decoder
Encoding reference

Whether a character needs encoding depends on where it appears. For example / separates path segments but is ordinary data inside a query value. The last two columns are computed live by your browser.

Character Percent-encoded encodeURI() encodeURIComponent()
Recent conversions

Privacy: history is off by default because URLs can contain tokens or personal data. When on, the latest 20 conversions (inputs up to 500 characters) are saved in this browser only.

Processing…
Scroll to Top