⚙️ Dev Tools

URL Encoder & Decoder

Percent-encode and decode URLs and query strings.

  • No login
  • No credit card
  • 100% free
  • Files never leave your device

Encode and decode URLs online

Percent-encode text so it's safe to drop into a link or query string, or decode an encoded URL back into readable text. Choose encodeURIComponent (encodes everything, best for a single query value) or the lighter whole-URL encoding that keeps characters like :/?&.

Why URL encoding matters

Characters such as spaces, &, ?, # and non-English letters have special meaning or aren't allowed in URLs. Encoding replaces them with % codes so the link works everywhere.

Need Base64 instead? Use the Base64 encoder.

Frequently asked questions

When do I need to URL-encode text?

When you put text into a link or query string, special characters like spaces, &, ? and / must be percent-encoded so the URL stays valid.

What is the difference between encode and decode?

Encoding turns readable text into a safe percent-encoded form; decoding turns an encoded URL back into readable text.