URL Encoder/Decoder

Paste text or a URL to encode it into percent-encoded format, or decode an already-encoded string back to readable text.

Your files are processed locally in your browser. They are not uploaded to our servers.

How to use

  1. Paste your text or URL into the box.
  2. Click Encode to percent-encode it, or Decode to convert it back.
  3. Copy the result with one click.

What is this tool?

URL Encoder/Decoder converts text to and from percent-encoding, the format used to safely include special characters like spaces, ampersands and slashes inside a URL. It uses your browser's native encodeURIComponent and decodeURIComponent functions and runs entirely offline.

Common uses

  • Encoding a query string parameter that contains special characters
  • Decoding a URL you copied from a browser's address bar
  • Preparing text to be safely embedded in a link
  • Debugging why a URL isn't working as expected

Related tools

FAQ

What's the difference between encoding and decoding?

Encoding converts special characters into percent-encoded sequences (like %20 for a space); decoding reverses that back to readable text.

Why does decoding sometimes show an error?

This happens if the text contains a malformed percent sequence that isn't valid URL encoding.

Is my text sent anywhere?

No, everything is processed locally in your browser and never leaves your device.