Online Tool Store Online Tool Store

URL Encoder Decoder

Percent-encode text for a URL or query parameter, or decode it back, with a choice between component and full-URL encoding. Runs entirely in your browser.

🔒 This tool runs entirely in your browser. Your files are never uploaded to a server.

"Component" escapes every reserved character — use it for a single query value. "Full URL" leaves : / ? & = alone since they're structural in a whole URL.

Example shown — replace it with your own text or URL.

How it works

  1. Choose Encode or Decode, and Component or Full URL scope.
  2. Paste your text or URL.
  3. The result updates instantly — copy it when it looks right.

FAQ

What's the difference between "Component" and "Full URL" mode?

Component mode escapes every reserved character, including & = / ? — use it for a single value going into a query string. Full URL mode leaves those characters alone since they're structural in a complete URL, and only escapes things like spaces.

How is this different from the URL Parser tool?

URL Parser breaks an already-valid URL into its pieces (protocol, host, path, query). This tool goes the other way — it turns arbitrary text into a safely percent-encoded string, or reverses that.

Why did decoding fail with an error?

Decoding fails on malformed percent-encoding — a "%" not followed by two valid hex digits. Check for a stray % in your input that wasn't meant to be encoded.

Is my text sent anywhere?

No — encoding and decoding happen entirely in your browser using the built-in encodeURIComponent/decodeURIComponent. Nothing is uploaded.

How we compare

Feature Online Tool Store Browser devtools console Online upload-and-convert sites
No console commands to remember Requires typing JS
Component vs full-URL scope built in Two separate function calls Often one mode only
Text stays on your device Uploaded to their server

For a quick one-off encode or decode without opening devtools or remembering which function does what, this is faster.

Explore related tools

Embed this tool

Paste this on your own site — it stays free, and every file still stays in your visitor's browser, not yours or ours.