Davemi

URL Encode/Decode

Encode or decode URLs and query string components, instantly.

Input

Output

Why URL-encode text?

A URL can only safely carry a limited set of characters. Spaces, ampersands, question marks, accented letters and emoji all have to be escaped into % sequences, or they break the link — usually by silently truncating a query parameter rather than failing outright. Encoding makes any value safe to drop into a URL; decoding turns a machine-readable link back into something you can actually read.

How it works

  1. Paste your text or encoded URL.
  2. Choose Component encoding for a single parameter, or Full URI for a whole address.
  3. Switch between Encode and Decode as needed.
  4. Copy the result straight to your clipboard.

Frequently Asked Questions

What's the difference between "Component" and "Full URI" encoding?

Component encoding (encodeURIComponent) escapes every special character, including / ? & = — use it for a single query parameter's value. Full URI encoding (encodeURI) leaves URL-structural characters like : / ? & alone — use it when encoding an entire URL.

When do I need to URL-encode something?

Whenever a value goes into a URL and might contain spaces, symbols or non-English characters — search terms, email addresses, redirect targets, or any query parameter that could itself contain a URL.

Why do spaces become %20 (or sometimes +)?

%20 is the standard percent-encoding for a space and works anywhere in a URL. The + form is a legacy convention valid only in query strings of HTML form submissions. This tool outputs %20, which is always safe.

Why did decoding fail?

Decoding fails if the input contains invalid or incomplete percent-encoded sequences (like a stray % not followed by two hex digits). Double-check you pasted the full encoded string.

What does %25 mean?

It's an encoded percent sign. Because % starts every escape sequence, a literal % must itself be encoded — which is why double-encoding a string turns %20 into %2520.

How do I fix a double-encoded URL?

Decode it twice. If one pass leaves you with visible %20 or %3A sequences, the string was encoded twice — run it through decode again.

Does it handle emoji and non-English characters?

Yes. Characters outside ASCII are encoded as UTF-8 byte sequences, so accented letters, Chinese characters and emoji all round-trip correctly.

Is this the same as Base64 or HTML encoding?

No. URL encoding makes text safe inside a URL, Base64 turns binary into text for transport, and HTML encoding escapes characters like < and & for page markup. Separate tools exist here for Base64.

Is URL encoding a form of security?

No. It's a formatting rule, not protection — anyone can decode it instantly. Never rely on it to hide sensitive values.

Is my text uploaded anywhere?

No. Encoding and decoding both run locally in your browser — nothing is sent to a server.