Back to Home

URL Encoder / Decoder

Encode or decode URLs and query parameters for safe transmission.

Input
Output

      

Overview

Encode or decode URLs so special characters travel correctly.

Best for

  • Build query strings with spaces or symbols.
  • Decode tracking links to read parameters.
  • Encode query parameters before sharing links.

Step-by-step

  1. Choose encode or decode mode.
  2. Paste the URL or component.
  3. Copy the normalized result.

Examples

Example 1
Input
hello world
Output
hello%20world
Spaces become %20.
Example 2
Input
q=ai%20tools&lang=zh
Output
q=ai tools&lang=zh
Decoded parameters are readable.
Example 3
Input
name=alice & bob
Output
name=alice%20%26%20bob
Spaces and & are safely encoded.

Common mistakes

  • Encoding the whole URL vs a component uses different rules.
  • Double-encoding breaks links.
  • Encoding the full URL when you only need a parameter.

Pro tips

  • Encode only parameter values when possible.
  • Test the link in a browser.

FAQ

Why does + appear for spaces?
In query strings, spaces may be encoded as '+'; %20 is also valid.
Does this upload my data?
No. Everything runs locally in your browser.
Can I use it offline?
Yes. After the page loads, most tools work offline. Some assets (like fonts) may need a connection.

Data & privacy

All processing happens locally in your browser. No data is uploaded or stored.