Free tech learning for everyone, from basics to pro

URL encoder & decoder

Encode or decode URLs and query strings, and split a URL into its parts.

Runs on your device · nothing is uploaded

Why URLs need encoding

A URL can only contain a limited set of characters. Spaces, non-English letters and characters with special meaning (such as &, ?, # and /) must be written as % followed by two hex digits. A space becomes %20 (or + in form data).

  • Encode (component) encodes everything except letters, digits and - _ . ! ~ * ' ( ). Use it for a single query value.
  • Encode full URL keeps the characters that give a URL its structure, such as : / ? & #.

When you decode a full URL, the tool also splits it into scheme, host, port, path and each query parameter, which is handy when reading web, proxy or API logs.

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.