Skip to content

Developer tools

URL encode and decode online

Percent-encode a query value or a whole URL, or decode %20-style text back to readable characters. Runs in your browser.

  • No uploadYour files are processed on your device and never sent anywhere.
  • FastNo upload or download wait – results appear in seconds.
  • Free, no signupNo account, no watermark and no daily limit.
URL encoder and decoder

Processed in your browser. Files are never uploaded.

Direction
What to encode

How to use the url encoder and decoder

  1. Choose Encode or Decode.

  2. Choose a single value or a whole URL.

  3. Paste the text and copy the result.

  • No uploadYour files are processed on your device and never sent anywhere.
  • FastNo upload or download wait – results appear in seconds.
  • Free, no signupNo account, no watermark and no daily limit.

URL encode or decode text

Percent-encode text so it can sit safely inside a link, or decode a URL full of %20 and %26 back into readable text. Value mode encodes a single query parameter. Whole-URL mode keeps the :, /, ?, # and & that a link needs. Use it to build query strings, read tracking links, or debug redirects. Everything runs in your browser.

Common URL codes

Character Encoded
space %20
& %26
/ %2F
? %3F
= %3D
# %23
₹ %E2%82%B9

Tips

  • Encode each query value on its own, then join them with &.
  • Decode only once. Decoding twice can turn a real % into the wrong character.
  • Making a QR code for the link? Encode it first, then use the QR code generator.

For tokens and data fields, use the Base64 encoder. To check a JSON payload, use the JSON formatter.

Frequently asked questions

What is URL encoding?

Replacing characters that aren’t allowed in a URL with % and two hex digits. A space becomes %20, & becomes %26 and / in a value becomes %2F.

Value mode or whole-URL mode?

Use value mode for a single query parameter, where almost everything is encoded. Use whole-URL mode for a full link, which keeps : / ? # and & so the link still works.

Why is a space %20 and not +?

This page follows encodeURIComponent, which uses %20. HTML forms use + for spaces. Replace + with spaces before decoding form data.

Why does decoding fail?

Each % must be followed by two hex digits. A stray % or a cut-off sequence can’t be decoded.

Is the link opened or sent anywhere?

No. The text is transformed in this tab and never requested.

Related tools

Last updated: