URL encode

Turn any text into a URL-safe percent-encoded string and back. Correctly handles UTF-8, so Cyrillic and other non-Latin characters survive the round trip.

Turn any text into a URL-safe percent-encoded string and back. Correctly handles UTF-8, so Cyrillic and other non-Latin characters survive the round trip.

How to use

  1. Paste the text or the encoded string
  2. Pick Encode or Decode
  3. Copy the result

Frequently asked questions

When do I need URL encoding?

Whenever a value goes into a URL: query parameters, path segments, redirect targets. Spaces, &, ?, # and non-Latin characters must be percent-encoded.

What's the difference between %20 and + for spaces?

%20 is the universal encoding of a space; + means space only in the query-string form encoding. When in doubt, use %20.

Why does my decoded text look broken?

The string was probably encoded twice, or it isn't UTF-8. Try decoding twice or check the source encoding.

Are whole URLs encoded differently from values?

Yes — encoding a full URL would break its structure (:// and /). Encode individual parameter values, not the whole address.