technine.io

Tools

URL Encode / Decode

Encode and decode URL-safe strings, paths, and query values.

Encode or decode a text value with the browser’s encodeURIComponent and decodeURIComponent functions.

How to use this tool

  1. Paste the text, path segment or query value.
  2. Select Encode to create a component-encoded value, or Decode to reverse one.
  3. Check the output before inserting it into a URL.
  4. Copy the result.

Ways to use it

Prepare a query value
Encode a value containing spaces, ampersands or non-ASCII text before placing it after a query parameter.
Inspect a URL component
Decode a percent-encoded path segment or query value for troubleshooting.

URL encoding notes

  • Encode uses encodeURIComponent on the whole input, so it is intended for one URL component rather than a complete URL you want to preserve as-is.
  • Decoding uses decodeURIComponent. A plus sign remains a plus sign; it is not converted to a space.
  • Malformed percent escapes cannot be decoded and show an input error.

Common questions

Should I paste a complete URL?

Use this tool for a value, path segment or other URL component. Encoding a full URL also encodes its separators.

Why is a space shown as %20?

That is the component encoding produced by encodeURIComponent.

Why did + not become a space?

This tool uses decodeURIComponent, which keeps + as a literal plus sign.

Does this send my URL anywhere?

No. The conversion happens in the browser and the page does not save the input.

ConsultWhatsApp