Skip to content

Developer tool

URL Encode and Decode

Encode spaces and reserved characters for a URL, or decode a percent-encoded string back to readable text.

Processed in your browser. The text is not sent to our servers.

How to URL-encode text

  1. Paste a query value, path segment, or full string.
  2. Choose Encode to turn spaces and reserved characters into percent-encoding.
  3. Choose Decode to turn a percent-encoded string back into readable text.

Frequently asked questions

Which characters get encoded?

Encode uses encodeURIComponent, so spaces, punctuation, and non-ASCII characters are percent-encoded. Letters and numbers stay as they are.

Is the text uploaded?

No. Encoding and decoding run in your browser and the text is not sent to our servers.

Keep working without leaving the site.