URL encoding (also called percent-encoding) replaces characters that aren't allowed in a web address with a % followed by their hexadecimal code. For example, a space becomes %20 and an ampersand becomes %26. This keeps URLs valid and unambiguous.
What this tool does
Encode any text into a URL-safe form, or decode a percent-encoded string back to readable text. Useful for query parameters, links and API requests.
Why it matters
Special characters like spaces, &, ?, =, # and non-English letters have reserved meanings in URLs. Encoding them prevents links from breaking and stops query parameters from being misread.
How to use it
Paste your text or encoded URL.
Choose encode or decode.
Copy the result.
Common encodings
Character
Encoded
space
%20
&
%26
?
%3F
=
%3D
Frequently Asked Questions
When do I need to URL-encode text?
Whenever text with spaces or special characters goes into a URL, such as search queries or API parameters, to keep the link valid.
What does %20 mean?
%20 is the percent-encoded form of a space character, which is not allowed directly in a URL.
Is URL encoding the same as Base64?
No. URL encoding only escapes unsafe characters for web addresses, while Base64 re-represents data using a 64-character alphabet.
Does this tool store my data?
No. Everything runs entirely in your browser. Nothing you enter is uploaded, saved, or shared.