CalcBrew

URL Encoder & Decoder

Turn text into a safe URL query value or decode a percent-encoded string back into plain text. Choose between encoding a single value (encodeURIComponent) and a full URL (encodeURI), and switch spaces between %20 and + for form data.

By Miikka · CalcBrew · Updated

Encoded output

Share:

Which characters get encoded

CharacterEncodedComponentFull URL
space%20✓✓
&%26✓—
=%3D✓—
?%3F✓—
/%2F✓—
#%23✓—
+%2B✓—
%%25✓✓
"%22✓✓
é%C3%A9✓✓
A–Z a–z 0–9 - _ . ~unchanged——

The unreserved set A–Z a–z 0–9 - _ . ~ never needs encoding. Reserved characters (: / ? # [ ] @ ! $ & ' ( ) * + , ; =) are legal in a URL when they play their structural role, which is why a full-URL encode leaves them alone while a component encode escapes them. Decoding is the inverse and is safe to run on either form.

Frequently asked questions

Cite this calculator
APACalcBrew. (2026). URL Encoder & Decoder. https://calcbrew.com/url-encoder
MLA“URL Encoder & Decoder.” CalcBrew, 2026, calcbrew.com/url-encoder.

Link to https://calcbrew.com/url-encoder. Results are estimates; cite the underlying formula or data source for academic work.

Related tools

More in Developer Tools · All tools & games