URL Encoder / Decoder

Percent-encode text for URLs or decode it back — instantly.

GenerateMake a QR codeQR codes for links, Wi-Fi, and contacts — no watermark, no sign-up.Create

How to encode or decode a URL

Pick Encode or Decode, then type or paste into the box. The result appears instantly below, ready to copy. Switch modes to round-trip a value and confirm it survives the trip.

When to encode

Encode any value you're dropping into a query string — search terms, redirect URLs, tokens — so special characters don't truncate or corrupt the link. Decode to read an encoded URL back in plain text.

Questions

What does URL encoding actually do?
It replaces characters that have special meaning in a URL — spaces, ampersands, question marks, slashes — with percent-codes like %20, so the value survives being placed in a query string or path without breaking the URL.
Which encoding does this use?
It uses the browser's encodeURIComponent and decodeURIComponent, which encode every reserved character. That's the right choice for a single query value or path segment, where you want slashes and ampersands escaped too.