URL Encoder/Decoder

Encode and decode URLs and query parameters with component breakdown, validation, and batch processing.

Type
Text / URL to encode
Encoded

“Component” encoding (encodeURIComponent) escapes all reserved characters — use it for a single query value or path segment. “Full URI” (encodeURI) leaves URL structure characters like :/?# intact — use it for a whole URL. Everything runs in your browser.

The URL Encoder / Decoder converts text and URLs to and from percent-encoding. Encode a string so it’s safe to use in a URL, or decode an encoded URL back into readable text.

How to encode or decode a URL

  1. Paste the text or URL you want to convert.
  2. Choose encode or decode.
  3. Copy the result.

What is URL encoding?

URLs can only contain certain characters, so spaces and symbols are replaced with a percent sign and a code — for example a space becomes %20. This is called percent-encoding and it keeps links and query parameters valid.

Frequently Asked Questions

What does URL encoding do?

It replaces characters that aren’t allowed in a URL (like spaces and &) with percent-encoded equivalents so the URL stays valid.

When should I URL-encode text?

Encode any value you place into a query string or link, especially user input, so special characters don’t break the URL.

How do I decode a URL?

Paste the encoded URL and choose decode to turn percent-codes back into readable characters.

Is the tool free and private?

Yes. It’s free and runs in your browser, so nothing is sent to a server.