What is URL encoding?
URLs can only contain a limited set of ASCII characters. Anything else, such as spaces, non-English letters or characters with special meaning like & and =, must be percent-encoded as % followed by hexadecimal bytes. Encoding a full URL keeps its structure (slashes, ? and &), while encoding a component also encodes those characters so a value can be placed safely inside a query string.
How to use the URL Encoder & Decoder
- Paste the text or URL.
- Choose encode component, encode full URL or decode.
- Copy the result.
- Check the URL parts and decoded parameters below.
Why it matters for SEO
- Build tracking and redirect URLs that don't break.
- Read messy encoded URLs from analytics or logs.
- Debug query parameters in redirects and canonical tags.
- Create clean links with non-English characters.
Key facts
- Uses the browser's standard encodeURIComponent and encodeURI.
- Decodes + as a space, as in form submissions.
- Shows every query parameter decoded in a table.
- Nothing is sent to our server.
URL Encoder & Decoder FAQ
What's the difference between encodeURI and encodeURIComponent?
encodeURI keeps URL structure characters like / ? & =; encodeURIComponent encodes them too, for use inside a single parameter value.
Why does a space become %20 or +?
%20 is standard percent-encoding; + is used for spaces in form data and query strings. Both are decoded to a space here.
Are encoded URLs bad for SEO?
No, but readable, short, lowercase URLs with hyphens are better for users. Use our URL Slug Generator for clean slugs.
Why do I get a decode error?
The text has a % not followed by two valid hex digits, often from double or partial encoding.