Octal to Text Converter
About this tool
About Octal to Text
Decode base-8 numbers into readable text. Octal turns up in C and shell string escapes like \110\145\154\154\157, in printf and echo output, in old protocol dumps and in some encodings of non-ASCII file names. Paste the values separated by spaces, commas or new lines, as backslash escapes, with 0o prefixes, or as an unbroken run of three-digit groups, and the text appears as you type. Bytes are read as UTF-8, so a sequence like \303\251 correctly becomes é, and anything that isn't valid UTF-8 triggers a warning instead of invisible corruption. Digits 8 and 9 are not octal and are pointed out with the value they appear in, and values above 377 are flagged because they don't fit in a byte. If each number is a Unicode code point rather than a byte, switch Values are to Code points. Swap re-encodes the result so you can confirm it. Everything runs locally.
Built and maintained by Abhi JainUpdated
How to Convert Octal to Text
- 1
Paste the octal
Paste octal numbers or backslash escapes into the Octal pane, or click Sample.
- 2
Copy the text
Pick UTF-8 bytes or Code points if needed, then copy or download the result.
Octal to Text: questions and answers
What does \110\151 mean?
They are octal escapes for the bytes 72 and 105, which spell Hi.
Why is 8 or 9 rejected?
Octal uses only the digits 0–7. A value containing 8 or 9 is probably decimal; use ASCII to Text for that.
Why do some file names show as \303\251?
Tools such as git and ls quote non-ASCII bytes as octal. \303\251 is the UTF-8 encoding of é; paste it here to read the real name.
Can I decode octal without spaces?
Yes, if every byte is written with three digits (for example 110151). The tool splits the run into groups of three.
More Text to Octal presets
Related tools
- Text to BinaryConvert text to binary (8-bit UTF-8 bytes) and binary back to text.
- Text to HexConvert text to hexadecimal UTF-8 bytes or code points, and hex back to text.
- Number Base ConverterConvert whole numbers between binary, octal, decimal, hex and any base 2–36, with two's complement.
- Text to ASCII CodesConvert text to decimal ASCII / Unicode codes and codes back to text.