Encode / Decode

URL Encode / Decode

Percent-encode a string for safe use in a URL, or decode an encoded URL back to plain text. Two scopes: Component mode encodes everything (for query parameter values), and Full URI mode preserves URL structural characters like :/?#&= so you can encode an entire URL. Auto mode detects whether your input is already encoded and decodes it.

URL Encode/Decode — Percent-encode and decode URL strings

What it does

  • Encodes text using percent-encoding (RFC 3986)
  • Component mode encodes all reserved characters — use for individual query params
  • Full URI mode preserves :/?#&= so the URL structure stays intact
  • Auto mode detects encoded vs plain text and picks the right direction
  • Optional + to space conversion for decoding form-urlencoded data

Use cases

  • Encoding a search query or filter value before appending it to a URL
  • Decoding a percent-encoded URL from a log file or analytics tool
  • Debugging double-encoding issues where a URL got encoded twice
  • Preparing a URL with special characters for use in an API request

How it works

1

Paste your text or URL into the input pane

2

Choose Encode, Decode, or Auto mode

3

Select Component or Full URI scope depending on what you're encoding

4

The result appears instantly in the output pane

Frequently asked questions

1When should I use Component vs Full URI mode?

Use Component when encoding a single value that goes into a query parameter — it encodes everything including & and = so they don't conflict with the URL structure. Use Full URI when you have a complete URL that needs encoding but should remain a valid URL.

2What does the + to space option do?

In application/x-www-form-urlencoded data (like HTML form submissions), spaces are encoded as + instead of %20. Toggle this option when decoding form data so + characters are converted to spaces.

3Can it handle already-encoded URLs?

Yes. Auto mode checks if your input contains percent-encoded sequences (%XX) and decodes it. If there are no encoded sequences, it encodes the input instead. This is useful when you're not sure if a URL is already encoded.

Related tools

Use URL Encode/Decode offline in Devinity

All 95 tools run locally on your Mac. No internet required, no data sent to servers.

Download Devinity →