URL Encoder / Decoder

Encode or decode URL strings instantly. No data leaves your browser.

All processing is done in your browser. Nothing is sent to a server.

Common Percent-Encoded Characters

Character Encoded Notes
Space %20 or + in form data
& %26 param separator
= %3D key=value separator
+ %2B plus sign
# %23 fragment identifier
? %3F query string start
/ %2F path separator
@ %40 userinfo separator

Frequently Asked Questions

What is the difference between encodeURI and encodeURIComponent?
encodeURI encodes a full URL, preserving characters like :/?#[]@ that have special meaning in URLs. encodeURIComponent encodes everything including those characters, ideal for encoding individual query parameter values.
When should I use URL encoding?
When passing special characters in query strings (spaces, &, =, etc.), when building URLs programmatically, or when storing URLs in databases or config files.
What does %20 mean?
%20 is the percent-encoded representation of a space character. The % sign followed by two hex digits represents the ASCII code of the character.

More IT & Dev Tools

View all โ†’