URL Encode / Decode

About this tool

Encode any text into a URL-safe percent-encoded string, or decode percent-encoded text back into its original form.

How to use
  1. Type or paste your text into the input box.
  2. Choose Encode URI to percent-encode it, or Decode URI to read a percent-encoded string.
  3. Copy the result with the Copy button.
Is my data uploaded anywhere?

No. URL encoding and decoding happen entirely in your browser.

Which characters get encoded?

encodeURIComponent encodes everything except A-Z, a-z, 0-9, and - _ . ! ~ * ' ( ).