Percent-encode text for use as a URL component, or decode a percent-encoded component back to text.
Result: Enter text to encode or decode.
What encoding mode is used?
Encode uses JavaScript encodeURIComponent(), which is intended for a URL component such as a query value or path segment—not for blindly encoding an entire already-structured URL.
Form encoding difference
HTML form encoding commonly represents spaces as +. encodeURIComponent() represents spaces as %20. Use the format required by the system you are sending data to.