Encoders & Decoders

URL Encoder/Decoder

Encode and decode URL strings with proper escaping

Percent-encode text so it's safe to drop into a URL, or decode an encoded string back to readable characters. Essential when building query strings, passing parameters with spaces or special symbols, or figuring out what an encoded link actually points to.

Runs 100% in your browser · no upload, no tracking, no ads

How to use URL Encoder/Decoder

  1. Paste the text or URL component you want to convert.
  2. Choose whether to encode or decode it.
  3. Read the converted result instantly.
  4. Copy the encoded or decoded value into your link or code.

Frequently asked questions

What's the difference between encodeURI and encodeURIComponent?

encodeURIComponent escapes more characters and is meant for individual values like query parameters, while encodeURI is for whole URLs and leaves structural characters such as / and ? intact.

Why is a space sometimes %20 and sometimes +?

In URL paths and most components a space becomes %20, but in form-encoded query strings it is often represented as a plus sign. Choose the encoding that matches where the value will be used.

Does decoding handle multi-byte characters?

Yes. UTF-8 percent sequences are decoded back into the correct Unicode characters, including emoji and non-Latin scripts.

Related Encoders & Decoders tools