MasterTool

URL Encoder/Decoder

Use url encoder/decoder locally, without uploading your data.

Loading calculator…

What this tool does

Use url encoder/decoder locally, without uploading your data. URL component encoding, not full URL encoding; plus signs are preserved on decode, not interpreted as form spaces.

How to use the URL Encoder/Decoder

  1. Enter or select text or encoded component.
  2. Enter or select operation.
  3. Read the calculated result; change any measurement to compare alternatives.

Formula

encodeURIComponent/decodeURIComponent percent-encode UTF-8 component bytes
value
Text or encoded component
direction
Operation

URL component encoding, not full URL encoding; plus signs are preserved on decode, not interpreted as form spaces.

Worked example

For url encoder/decoder, the following measurements illustrate the exact method: Text or encoded component: hello world & tools; Operation: encode.

Inputs

  • Text or encoded componenthello world & tools
  • OperationEncode URL component

Result

  • Resulthello%20world%20%26%20tools

Results explained

Result
Result from the formula above. URL component encoding, not full URL encoding; plus signs are preserved on decode, not interpreted as form spaces.

Frequently asked questions

encodeURIComponent/decodeURIComponent percent-encode UTF-8 component bytes

URL component encoding, not full URL encoding; plus signs are preserved on decode, not interpreted as form spaces.

No. Content stays in your browser and no API is called.

Copy the result, review it in your project, and test it in the intended environment.

No. Syntax checks and conversions cannot replace application-specific testing, security review or accessibility review.