Encoding
Text to Binary/Hex/Octal/Decimal
Encode text as binary, hexadecimal, octal, or decimal bytes.
How to use it
- Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type Text to Binary/Hex/Octal/Decimal 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.
What to enter
Enter text to encode or binary/hex/octal/decimal bytes to decode...
Options
| Option | Values | Default |
|---|---|---|
| Output FormatSelect output format | Binary, Hexadecimal, Octal, Decimal (Base10) | Binary |
| Byte SeparatorSeparator between bytes | Space, Dash, None | Space |
| Uppercase (hex)Use uppercase letters for hexadecimal | On or off | On |
| Show prefix (0x, 0b, 0o)Add number format prefix | On or off | Off |
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.