← ihatecalc

URL Encoder & Decoder

About this URL Encoder & Decoder tool

URL encoding (percent-encoding) replaces characters that are not safe in a URL with a % followed by two hexadecimal digits. For example, a space becomes %20. It is needed when you put text such as search terms or parameters into a URL.

How to use it

  1. Paste your text or URL into the input box.
  2. Click Encode or Decode.
  3. Copy the result.

Example

hello world & more  →  hello%20world%20%26%20more

Frequently asked questions

What is the difference between encoding a full URL and a parameter?

A whole URL keeps characters like : / ? and &. A single parameter value should encode them, otherwise they break the URL structure.

Is + a space?

In form-encoded query strings, + often means a space. In percent-encoding, a space is %20.

Why do I see %25 in my URL?

%25 is an encoded % sign. It usually means the text was encoded twice.

Related tools

Base64 Encoder/Decoder · Slug Generator · JSON Formatter