Encoding

Text to Binary/Hex/Octal/Decimal

Encode text as binary, hexadecimal, octal, or decimal bytes.

How to use it

  1. Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type Text to Binary/Hex/Octal/Decimal 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.
What to enter
Enter text to encode or binary/hex/octal/decimal bytes to decode...

Options

OptionValuesDefault
Output FormatSelect output formatBinary, Hexadecimal, Octal, Decimal (Base10)Binary
Byte SeparatorSeparator between bytesSpace, Dash, NoneSpace
Uppercase (hex)Use uppercase letters for hexadecimalOn or offOn
Show prefix (0x, 0b, 0o)Add number format prefixOn or offOff

Example

Real output from Devly, with the default options.

Input
Devly
01000100 01100101 01110110 01101100 01111001

From Terminal

With the free command-line tool installed:

Terminal
devly binhex "Devly"
# or pipe text in
pbpaste | devly binhex

Quick Switch also finds it by: ascii, binary, hex, hexadecimal, octal, decimal, base10, encode.

More Encoding tools