URL Encoder / Decoder

Encode special characters in a URL to percent-encoded format (RFC 3986), or decode a percent-encoded string back to its original form. Useful for debugging URL parameters and form submissions.

URL Encoder/Decoder — Percent-encoding Made Easy

ToolOverview

URLs may only contain ASCII characters. Chinese, spaces, &, = and other special characters must be percent-encoded (%xx) to travel safely. This tool implements JavaScript's encodeURIComponent and decodeURIComponent, supports pasting entire URLs to auto-extract query parameters, and batch-encodes individual values.

How to use

  1. Pick a mode: full URL encode, single param, or decode
  2. Paste your URL or parameter value
  3. Result appears instantly; copy to clipboard with one click

Use Cases

FAQ

Q: encodeURIComponent vs encodeURI?
A: The former encodes almost everything (use for VALUES). The latter keeps URL syntax characters :/@?&=# (use for FULL URLs).

Q: Garbled after decode?
A: Likely a charset mismatch (GBK vs UTF-8). This tool assumes UTF-8.

Q: Space → %20 or +?
A: %20 in paths, both work in query strings. We default to %20.

Tips & Related Tools

Debugging a REST API? Paste the server-reported URL here to see exact params.

In JS fetch, prefer URLSearchParams — it handles encoding automatically.

Need Base64 URL-safe variant (+/ → -_)? Use the Base64 tool.

Common Use Cases

Use the URL Encoder Decoder Online Free online for these scenarios:

Frequently Asked Questions

Here are the most common questions:

Q: Is this tool safe?
A: Yes. 100% client-side, data not uploaded, disappears when page closes.

Q: Do I need to register?
A: No. No login, no account, use directly.

Q: Are there usage limits?
A: No. Completely free, unlimited use.

Q: Does it support mobile?
A: Yes. All modern browsers work, including mobile.

Related Tutorials

Want to learn more about URL Encoder Decoder Online Free? Check out these tutorials: