Skip to main content
SK Play Labs logoSK Play Labs

URL Encoder / Decoder

Percent-encode text for URLs, and back.

Output
Result appears here…

Runs entirely in your browser — nothing you enter is uploaded or sent to a server.

Component mode escapes reserved characters like & = ? / while full-URL mode leaves them intact — pick the wrong one and a link can break, so choose the mode that fits your case. Read our full disclaimer.

About this tool

URLs can only contain a limited set of characters, so anything else — spaces, &, =, non-ASCII — must be percent-encoded (e.g. a space becomes %20). This tool encodes and decodes both a whole URL and a single URL component, live.

Try it

Encoding "a b&c=d" as a component gives "a%20b%26c%3Dd". Decoding reverses it.

How to use

  1. 1Choose Encode or Decode.
  2. 2Toggle 'component' to also encode reserved characters like & = ? /.
  3. 3Type or paste your input; the result appears instantly to copy.

Features

  • Switch between encode and decode in one click.
  • Component mode (encodeURIComponent) or full-URL mode.
  • Converts live, with a clear error on invalid input.

Frequently asked questions

What's the difference between component and full-URL encoding?

Component encoding (encodeURIComponent) escapes reserved characters like & = ? / too, so it's right for a single query value. Full-URL encoding (encodeURI) leaves those intact so a complete URL stays usable.

More developer tools

View all