๐Ÿ”— URL Encoder / Decoder

๐Ÿ”’ ๅฎ‰ๅ…จ & ็”จๆˆถ็ซฏ่™•็†

Encode characters into percent-encoded form (e.g. space โ†’ %20) or decode them back. Use 'Component' for query values; use 'Full URL' to preserve reserved characters like : / ?.

How to use

  1. Paste your URL or text into the input panel.
  2. Pick Component mode for query values or path segments โ€” this escapes reserved characters like :/?&=.
  3. Pick Full URL mode when encoding a complete URL โ€” this preserves :/?&= so the URL stays valid.
  4. Click Encode or Decode; use Swap to flip input/output.

Component vs Full: use Component (encodeURIComponent) for anything that goes inside a URL piece โ€” query values, path segments, fragment IDs. Use Full (encodeURI) only when escaping characters in an entire URL where you must keep ? and & as separators.

Examples

Component encoding (e.g., for a search query):

"hello world" โ†’ hello%20world
"a&b=c"       โ†’ a%26b%3Dc
"์•ˆ๋…•"         โ†’ %EC%95%88%EB%85%95

Full-URL encoding:

"https://x.com/?q=hello world"
โ†’ https://x.com/?q=hello%20world