Percent-encode every character

Percent-encode a complete URL while preserving its structural delimiters.

freeworks offlinenothing uploaded
ToolURL Encode (Full)
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

URL components are parsed, non-unreserved bytes are encoded, and scheme and delimiters remain structural; existing escapes can be preserved or normalized. The result is an ASCII URI.

  • Full encoding differs from form encoding.
  • Preserving escapes avoids accidental double encoding.

Worked example

Encode All Characters
Percent-encode every character including safe ones
Input
											Hello
										
Output
												%48%65%6C%6C%6F
											

When to use this

Redirect targets, canonical URLs, and API logging normalize full URLs.

Edge cases

  • Encoding %20 again can create %2520.
  • A plus can be literal in a URI but space in form encoding.
  • Fragments stay in the URL but are not sent to servers.

References