Free Technical tool

Free URL Encoder & Decoder

A URL encoder converts characters that aren't allowed in web addresses, such as spaces, accents and symbols, into percent-encoded form (a space becomes %20), and a decoder reverses it. SEO Portals encodes a single value or a full URL, decodes encoded text, and splits the URL into protocol, host, path and readable query parameters. It runs in your browser.

Free · No sign-up, unlimited use · Updated · By the SEO Portals team

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

  1. Paste the text or URL.
  2. Choose encode component, encode full URL or decode.
  3. Copy the result.
  4. 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.

Check every page, not just one

Run a full-site audit free and get every issue ranked by impact.

Audit my whole site free