Encoding

URL Encode / Decode

Encode and decode URL percent-encoding.

How to use it

  1. Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type URL Encode / Decode and press Return.
  2. Choose Encode or Decode at the top.
  3. Paste or type your text into Input.
  4. Adjust the Options on the right if you need to. The defaults are listed below.
  5. Press Encode, or ⌘↵.
  6. To go the other way, press Swap or ⌘S. The output moves into the input.
  7. Use Copy or ⇧⌘C to copy the result. ⌘L clears everything.

Options

OptionValuesDefault
Encode ModeWhat part of the URL to encodeQuery Parameter, Full URL, Path ComponentQuery Parameter
Space EncodingHow to encode spaces%20, +%20
Encode slashesEncode forward slash charactersOn or offOff

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