Handy Web Tools

Free browser tools with no sign-up

FREE TOOL

URL Encoder / Decoder

Safely encode text for URLs or decode percent-encoded strings.

Loading tool…

About URL Encoder / Decoder

Convert text and special characters into a URL-safe encoded form, or decode percent-encoded text back to its original form.

How to use

  1. 1.Enter the text you want to convert.
  2. 2.Choose encode or decode.
  3. 3.Review and copy the converted result.

Useful for

  • Encoding query-string values
  • Reading percent-encoded URLs
  • Converting text during development and debugging

Verified examples and scope

These examples describe reproducible behavior in this tool. They are not a guarantee for inputs outside the documented scope.

Input or settingExpected resultCondition
東京 駅%E6%9D%B1%E4%BA%AC%20%E9%A7%85The space becomes %20 and Japanese text is encoded from UTF-8.
a%2Fba/bDecoding restores valid %HH escapes.

Known limitations

  • This is a URI-component converter using encodeURIComponent, not a whole-URL normalizer.
  • It does not treat a plus sign as a form-encoded space.

If the result is unexpected

  • A stray percent sign or a non-hexadecimal escape cannot be decoded.

How it works

It uses the browser encodeURIComponent and decodeURIComponent functions.

Input and output strings are processed in the browser.

Input examples

  • Tokyo Station → Tokyo%20Station
  • Encode a query value such as name=Jane Doe

Notes and limitations

  • Usually you should encode an individual query value rather than an entire URL.
  • Malformed or incomplete percent encoding cannot be decoded.

Frequently asked questions

Does it support Unicode text?

Yes. It supports Unicode text, including non-English characters and symbols.

Why can decoding fail?

Malformed or incomplete percent-encoded input cannot always be decoded; the tool displays an error in that case.