Home / Developer Tools / URL Encoder and Decoder
Free online tool

URL Encoder and Decoder

Percent-encode text for use in URL components or decode valid percent-encoded sequences into readable text. Processing takes place locally in your browser.

Start using

What URL Encoder and Decoder does

Percent-encode text for use in URL components or decode valid percent-encoded sequences into readable text.

Worked example

Input

Encode “summer sale & more”

Result

summer%20sale%20%26%20more

How it works

URL encoding converts bytes into percent-prefixed hexadecimal sequences where required. Decoding reverses valid sequences using the selected text encoding.

Developer workflows

  • Prepare query parameter values
  • Inspect encoded callback and redirect URLs
  • Debug paths containing spaces or Unicode text

Security and compatibility checks

  • Encode individual components rather than blindly encoding an entire URL.
  • Decoding untrusted input does not make it safe for HTML, SQL or redirects.
  • A plus sign may represent a space in form-encoded query data but not every URL component.

Frequently asked questions

Should I encode the whole URL?

Usually no. Encode each path segment or query value while preserving structural characters such as : / ? and &.

Is URL encoding encryption?

No. It is a reversible transport representation.

Processing takes place locally in your browser.