
URL Encode
Encode text as a URL query value, or decode percent-escapes back into text.
Encode prepares a query value. Decode turns percent-escapes back into text.
- 1Paste the text.
- 2Press Encode or Decode.
- 3Copy the result.
About this tool
Prepare a string for a query value, or turn percent-escapes back into text. Paste the string, press Encode or Decode, and copy the result.
- It doesn't fetch the URL
- It doesn't change a path on a server
- Use it before you drop a title or a query into a link
Questions
- Which encoding is used?
- encodeURIComponent, which escapes everything a query value needs, including & and =.
- Why did decode fail?
- A % sign was not followed by two hex digits.
- Does it encode a whole URL?
- It treats the text as one value. Paste a full address and the colon and slashes are escaped too, so encode only the part that goes in a parameter.
Ratings
No ratings yet. The average shows after 3 ratings.
Ratings come from people using this tool. Nobody is paid or rewarded for them, and written reviews are checked for spam before they appear, not for whether they are positive.
Related tools
Base64Encode text or a file up to 8 MB into Base64, or decode Base64 text back into text.- Meta Tag GeneratorBuild title, description, canonical, and Open Graph tags from three fields.
- Slug GeneratorTurn a title into a lowercase URL slug with hyphens.
JSON formatterPretty-print JSON with a two-space indent, and show the parse error when the text is invalid.
CSV and JSONConvert a CSV table to JSON, or a JSON table to CSV, keeping commas that sit inside quotes.
JWT decoderRead the header, payload, and expiration time of a JSON Web Token.
UUID v4 GeneratorGenerate one version-4 UUID from the browser's random source.
Regex testerTest a JavaScript regular expression against sample text and list the matches.