Percent-encode text

Decode may throw if the string is not valid percent-encoding.

FAQ

Encode vs decode: what functions are used?

Encode uses encodeURIComponent (UTF-8 percent-encoding, reserved characters encoded). Decode uses decodeURIComponent; malformed sequences raise an error message. This is for quick checks, not a full URL parser.

Does the decimal separator matter?

This calculator uses plain decimal numbers. If a result looks wrong, check whether you used a comma instead of a dot (or vice versa) where the field expects one.