URL Encoder/Decoder
Encode and decode URL components safely. Handle special characters in URLs with ease.
Component vs Full URL Encoding
Encode Component: Encodes query parameters and special characters (spaces, &, =, ?, etc.) for safe URL transmission.
Encode Full URL: Preserves URL structure (: / # ?) while encoding other special characters.
Component Encoding
Encode individual URL components like query parameters, paths, and fragments safely.
Full URL Encoding
Encode complete URLs while preserving the structure and special URL characters.
Real-time Preview
See encoded/decoded output instantly as you type with auto-detection.
Common Use Cases
Query Parameters
name=John Doe&city=New York
becomes
name=John%20Doe&city=New%20York
Special Characters
Hello & Welcome!
becomes
Hello%20%26%20Welcome!
About the URL Encoder/Decoder
URL encoding (percent-encoding) replaces characters that are not allowed in a URL, such as spaces, &, and non-English letters, with a % sign followed by their hex code.
How to use it
- 1 Paste the text or URL.
- 2 Choose Encode or Decode.
- 3 Copy the result into your link or code.
Frequently asked questions
Why is a space encoded as %20?
Spaces are not allowed in URLs. %20 is the hex code for the space character. In HTML form data a space can also appear as +.
Should I encode the whole URL?
Usually not. Encode each query parameter value separately so that characters like ?, &, and = keep their meaning in the URL.
Is URL encoding the same as Base64?
No. URL encoding only escapes unsafe characters and leaves the rest readable, while Base64 rewrites all of the data.