URL Encoder / Decoder

Encode or decode URLs and query strings online. Convert special characters to percent-encoding and back.

100% PrivateInstantAny Device

Encoding Mode

How to Encode & Decode URLs

Convert special characters to percent-encoding and back in seconds.

1

Enter Text or URL

Paste your URL, query string, or text with special characters.

2

Choose Mode

Select Component mode for parameters or Full URL mode for complete URLs.

3

Click Encode or Decode

Convert to percent-encoding or back to readable text.

4

Copy Result

Copy the encoded/decoded output or download as a file.

Why Use Our URL Encoder/Decoder?

Encode and decode URLs safely for web development and API work.

Instant Conversion

Encode or decode URLs in milliseconds with real-time processing.

100% Private

All processing happens locally in your browser. No data is sent anywhere.

Two Modes

Choose Component mode for parameters or Full URL mode for complete URLs.

Any Device

Works on desktop, tablet, and mobile with any modern browser.

Character Breakdown

See exactly which characters were encoded and their hex values.

Encode & Decode

Convert in both directions with a single tool.

Common Use Cases

See how URL encoding and decoding is used in real-world scenarios.

Query Parameters

Input

search=hello world&filter=a+b

Output

search=hello%20world&filter=a%2Bb

Special Characters

Input

name=John Doe&city=São Paulo

Output

name=John%20Doe&city=S%C3%A3o%20Paulo

API Endpoints

Input

https://api.example.com/data?q=test value

Output

https://api.example.com/data?q=test%20value

Decode Encoded URL

Input

hello%20world%21

Output

hello world!

Frequently Asked Questions

URL encoding (percent-encoding) replaces unsafe characters with a '%' followed by their hexadecimal ASCII value. For example, a space becomes %20. This ensures URLs are transmitted correctly over the internet.
Component mode (encodeURIComponent) encodes everything except letters, digits, and - _ . ! ~ * ' ( ). Full URL mode (encodeURI) preserves URL-special characters like :, /, ?, #, &, = so the URL structure remains intact.
Use Component mode when encoding individual query parameter values or path segments. Use Full URL mode when encoding a complete URL where you want to preserve the structure (protocol, slashes, etc.).
If you try to decode a string with invalid percent-encoding (e.g., %ZZ), the tool will display a descriptive error message instead of crashing.
Yes. All encoding and decoding happens locally in your browser — no data is sent to any server.

Explore More Free Tools

Discover more free online tools built by CoderDesign — all instant, private, and no sign-up required.

Ready to Work Together?

Need a custom tool or web application? Let's discuss your project.