Skip to main content
GARGLOO

URL Encoder & Decoder Online – Free

Percent-encoding done right.

Runs on your device

At a glance

Input:
Text / data you paste
Processing:
Runs locally in your browser
Privacy:
Nothing you type is sent to a server

Last updated: 2026-10-07

Common use cases

  • Embedding a search phrase with spaces into a query string
  • Decoding a percent-encoded redirect URL to see where it leads
  • Encoding form values that contain & or = without breaking params
  • Inspecting each query param of a long marketing link

About this tool

Correct percent-encoding both ways, with a parsed breakdown showing scheme, host, path and params so you can see exactly what changed. Invalid sequences are flagged instead of silently mangled.

How to use it

  1. Paste a URL or fragment.
  2. Choose encode/decode and mode.
  3. Copy the result or study the parsed parts.

Practical tips

  • Encode values in Component mode, whole links in Full URI mode — swapping them either breaks structure or leaves values unsafe.
  • Enable Treat + as space only for form-encoded strings; plain URLs use %20 and misread + otherwise.
  • Read the parsed breakdown for long links: it separates params so a wrong value stands out.

Common mistakes

  • Encoding a full URL in Component mode — :// and question marks get escaped and the link dies; switch to Full URI.
  • Decoding twice: %2520 becomes %20 then a space, mangling the original — decode once.
  • Leaving + handling on for normal URLs — literal plus signs in tokens turn into spaces.

How this compares

DevTools consoles encode strings but hide the mode choice, and online encoders transmit URLs that may carry tokens. This tool exposes both modes plus a scheme/host/param breakdown, all local. The tradeoff: single-value scope — bulk-encoding whole files belongs in a script, not a text box.

Good to know

  • The breakdown panel only appears for full URLs with :// in encode mode.
  • Malformed percent sequences cannot decode and report an error instead of guessing.
  • Encoding covers one value at a time — bulk URL lists need repeated passes.

Frequently asked questions

Component vs full-URI encoding?

Component mode escapes everything meaningful (&, =, ?) for embedding values inside a query string. Full-URI mode preserves structural characters so a whole URL stays navigable.

Why does + sometimes mean space?

In application/x-www-form-urlencoded (classic form submissions), space becomes +. Decode mode offers a toggle to interpret + as space when needed.

Anything sent to servers?

No — encoding happens locally, appropriate even for tokens in redirect URIs.

What is the parsed URL breakdown?

When encoding input containing ://, a panel shows scheme, host, path, each query param and fragment. It appears only in encode mode for full URLs. Switch to decode mode to reverse a percent-encoded string instead.

All developer tools
URL Encoder & Decoder Online – Free | GARGLOO