URL converter

Encode or decode a text to be used in URLs.

  • Content
  • 100% free
  • No sign-up
  • Runs in your browser
URL converter

What is the url converter?

The URL converter percent-encodes text so it can be safely used in a URL or a query string, and decodes encoded URLs back into readable text. Encoding matches PHP's urlencode(), with spaces turned into plus signs, and runs in your browser.

Characters such as spaces, &, ? and # have a special meaning in URLs, and non-ASCII characters must be encoded. Decoding is handy to read the tracking links and redirect URLs found in emails and logs.

How to use the url converter

  1. 1Paste the text or the URL.
  2. 2Choose Encode or Decode.
  3. 3Press Convert and copy the result.

Features

Encode and decode

Both directions in a single tool.

UTF-8 support

Non-ASCII characters are encoded correctly.

Form compatible

Spaces are encoded as + like HTML forms do.

Private

Processed locally in your browser.

Frequently asked questions

What is URL encoding?

Also called percent-encoding, it replaces unsafe characters with % followed by their hexadecimal code, for example a space becomes %20 or +.

When do I need to encode a URL?

When you put text, or another URL, inside a query string parameter.

Why do I get an error when decoding?

The text contains a % sign that isn't followed by a valid code. Encode it again, or fix the broken sequence.

Should I encode the whole URL?

No, only the values of parameters. Encoding the whole URL also encodes the :// and / characters.