Decode a percent-encoded URL

Decode percent-encoded URI components with URI or form rules.

freeworks offlinenothing uploaded
ToolURL Decode
Input
Output
Put this on your own site

The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.

Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.

Preview

How it works

Percent triplets become hexadecimal bytes and decode through UTF-8 or a selected encoding; component mode controls whether reserved delimiters stay data. Form mode treats plus as space, while URI mode leaves plus literal.

  • Component decoding avoids changing path structure unexpectedly.
  • Form mode matches HTML submissions.

Worked example

Query Parameter
Decode a percent-encoded URL query string
Input
											hello%20world%20%26%20goodbye%3Dcruel%2Bworld
										
Output
												hello world & goodbye=cruel+world
											

When to use this

Query servers, redirects, and log viewers decode URL components.

Edge cases

  • Malformed percent escapes need rejection or preservation.
  • %2F can remain data inside a path segment.
  • Plus means space only in form encoding.

References