Skip to content
Calixo

URL Encoder / Decoder

Percent-encode text for safe use in a URL, or decode a percent-encoded string back to plain text.

Inputs

Saved Scenarios

— select 2+ to compare

Result

hello%20world%20%26%20more%3Dstuff%3F

Spark says

Formula

Reserved Character%HHReserved\ Character \rightarrow \%HH
HH
— The character's byte value in two-digit hexadecimal

What is the URL Encoder / Decoder?

URLs can only safely contain a limited set of characters — percent-encoding replaces anything else (spaces, &, =, ?, non-ASCII characters) with a %XX sequence so the value can be safely embedded in a URL, query string, or form submission.

How to use it

  1. 1 Choose encode or decode mode.
  2. 2 Enter text or a percent-encoded string.

Worked examples

Frequently asked questions

Why does a space become %20?

Space isn't a valid character inside most parts of a URL — 0x20 is its ASCII byte value in hex, so %20 is its percent-encoded form (the older '+' convention is specific to form submissions, not general URL encoding).