Convert octal numbers back into readable text, validating that every digit falls in the range 0 to 7.
Show calculation steps
Processed privately in your browser — nothing you paste is uploaded, logged or stored.
Octal digits back to characters
Digits are grouped into bytes — three digits each — and the bytes are decoded as text. The usual failure is a group of the wrong length, which shifts every byte after it and turns the rest of the output into noise.
Worked example
110 151 → 72 105 → "Hi" 101 102 103 → 65 66 67 → "ABC"
Reading C escapes
A backslash followed by up to three octal digits inside a C or Python string is a byte written in octal, so \101 is A. Recognising that is often the whole job when reading an obfuscated string or an older configuration file.
Separators and prefixes
Spaces, commas, newlines, backslashes and 0o prefixes are ignored, so octal pasted from source code or from a manual decodes without editing. A digit of 8 or 9 is impossible in octal and is reported rather than accepted.
Limits
The tool decodes bytes and then text; it does not guess at other encodings. Everything happens in your browser.
How to use the Octal to Text
- Paste the octal numbers.
- Choose the unit.
- Click "Convert to text".
Frequently asked questions
Why is the digit 8 or 9 rejected?
Octal is base 8, so only the digits 0 through 7 exist. An 8 or 9 means the data is really decimal, or a digit was mistyped.
How do I recognise octal in the wild?
Context is usually the clue. A three-digit group where no digit exceeds 7 – like 755 or 644 – is very often a Unix permission mask. In C-family source code a leading zero marks an octal literal, which is a classic source of bugs when a zero-padded decimal is read as octal.
Can octal represent any byte value?
Yes. Three octal digits cover 0 to 511, which comfortably includes every byte value from 0 to 255. That is why byte dumps in octal use three-digit groups.