URL Encode/Decode

Safely encode or decode text for URLs.

Informational only; verify critical results independently.

How to use

  1. Paste the text you want in a URL (e.g. a query value or path segment).
  2. Click Encode; special characters become %XX (e.g. space → %20).
  3. Paste the encoded string into your URL or query; decode to get the original back.
  4. Use Decode when you have a percent-encoded string and need plain text.
  5. Copy the result; we don’t store or send your input.
  6. Match the encoding your API or app expects (we use standard percent encoding).

Examples

  • Encode 'hello world' for a query param → hello%20world
  • Encode 'a=b&c=d' so it can go in a URL safely
  • Decode %E4%BD%A0%E5%A5%BD to see the UTF-8 text
  • Encode an email address for a mailto: link
  • Encode 'price=10.99' for a product URL
  • Decode a long tracking or referral parameter

FAQ

Spaces vs +?
We use percent encoding: spaces become %20. Some forms use + for space; replace + with %20 if needed.
Why did my slash disappear?
Slashes are encoded as %2F so they don’t break path structure. Encode only the query or segment that needs it.
Unicode and emoji?
Encoded as UTF-8 percent-encoded bytes (e.g. %E2%9C%85 for ✓). Decode to get the original character.
Encode the whole URL or just part?
Encode only the dynamic part (e.g. one query value). Don’t encode the whole URL or you’ll double-encode.
What if decode shows weird characters?
Input may not be valid percent-encoding or may be a different encoding; check the source.
Is data sent to a server?
No. Encode and decode run in your browser.

Related guides

Related tools

Last updated: 2025-09-15