Encoding
URL Encode / Decode
Encode and decode URL percent-encoding.
How to use it
- Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type URL Encode / Decode and press Return.
- Choose Encode or Decode at the top.
- Paste or type your text into Input.
- Adjust the Options on the right if you need to. The defaults are listed below.
- Press Encode, or ⌘↵.
- To go the other way, press Swap or ⌘S. The output moves into the input.
- Use Copy or ⇧⌘C to copy the result. ⌘L clears everything.
Options
| Option | Values | Default |
|---|---|---|
| Encode ModeWhat part of the URL to encode | Query Parameter, Full URL, Path Component | Query Parameter |
| Space EncodingHow to encode spaces | %20, + | %20 |
| Encode slashesEncode forward slash characters | On or off | Off |
Example
Real output from Devly, with the default options.
Input
https://devly.techfixpro.net/search?q=json formatter&lang=en
https%3A//devly.techfixpro.net/search%3Fq%3Djson%20formatter%26lang%3Den
From Terminal
With the free command-line tool installed:
Terminal
devly urlencode --path input.txt # or pipe text in pbpaste | devly urlencode
Quick Switch also finds it by: url, percent, encode, decode, uri, query, parameter.
More Encoding tools
Base64Encode and decode Base64 stringsHTML EntityEncode and decode HTML entitiesJWT DecoderDecode and inspect JSON Web TokensUnicode EscapeEncode and decode Unicode escape sequencesText to Binary/Hex/Octal/DecimalEncode text as binary, hexadecimal, octal, or decimal bytesMorse CodeConvert text to and from Morse code