Octal converter
Convert text to octal and the other way for any string input.
About this tool
The octal converter turns text into octal, base 8, and back again. Each byte of the text is written as an octal number from 000 to 377, so “Hi” becomes 110 151.
How to use the octal converter
- Choose To octal or To text.
- Type or paste your text, or octal numbers separated by spaces, commas or new lines.
- Copy the result.
What octal is
Octal counts in eights, using only the digits 0 to 7. One octal digit is exactly three bits, which made it popular on early computers. Today you mostly meet it in two places:
- Unix file permissions, like chmod 755 or 644, where each digit sets read, write and run rights for a group of users.
- Escape codes in older programming languages and shells, like \101 for A.
UTF-8 and other alphabets
The text is encoded as UTF-8 before conversion, so accented letters and emoji become several bytes, and decoding reads the bytes back as UTF-8, so the text comes back exactly as it was. The same bytes can also be shown in binary, decimal or hex with the other converters. It all happens in your browser.
Similar tools
Morse converter
Convert text to Morse code and the other way for any string input.
Number to words converter
Convert a number to written, spelled out words in 37 languages.
Base64 encoder
Encode any string input to Base64.
Base64 decoder
Decode Base64 input back to a string.
Base64 to Image
Decode Base64 input to an image.
Image to Base64
Transform an image file into a Base64 string.