Make text safe to use in a URL, or turn an encoded URL back into readable text. Choose between encoding a single value and encoding a whole URL.

How It Works

  1. Choose a Mode: Encode a URL part, encode a full URL, or decode.
  2. Paste Your Text: The result updates as you type.
  3. Copy the Result: Use the copy button to take it to your code or browser.

Key Features

Frequently Asked Questions

Should I encode a URL part or a full URL?

Encode a URL part for values you put into a URL, such as a query string value or a single path segment. It encodes characters like / ? & and =. Encode a full URL when you already have a complete address and only need to make spaces and other unsafe characters safe, keeping the characters that give the URL its structure.

Why is a space sometimes %20 and sometimes +?

Both mean a space. %20 works everywhere in a URL. The + sign only means a space in submitted form data and query strings. When decoding, choose "Read as spaces" for plus signs if your text came from a form.

Why does decoding show an error?

A % sign must be followed by two hexadecimal digits, such as %20. Text with a lone % or an incomplete code cannot be decoded. Encode a literal % sign as %25.

URL Encoder & Decoder

Percent-Encode and Decode URLs

You can also come chat with us on the Stoic Dreams discord server.

If this tool saved you time today, please consider supporting the project via [GitHub Sponsors](https://github.com/sponsors/StoicDreams). Every contribution helps me build more utilities for the community. About Ap Tul Contact Stoic Dreams Privacy Terms & Conditions