Decode octal to text (UTF‑8)
This Octal to Text (UTF‑8) converter takes octal byte values (like 110 145 154) and decodes them back into readable UTF‑8 text.
It’s handy when you’re working with octal byte notations found in:
- legacy systems and documentation
- Unix / C-style escape sequences (e.g.,
\110\145\154) - programming exercises and CS classes
- logs, payload examples, and test fixtures
Key idea: this is a byte decoder, not a “base conversion calculator.” Each octal value is treated as one byte.
How to use it
- Paste your octal values into the input.
- Choose Decode (octal → text).
- Select Octal as the format.
- Copy the decoded text.
What octal input formats are accepted?
Octal bytes are typically written as space-separated values, but you may see other styles.
1. Space‑separated byte values (recommended)
110 145 154 154 157
Each value should represent a single byte in octal: 0–377.
2. Newlines and mixed whitespace
This also works:
110 145 154
154 157
3. C / shell escape style (\ooo)
Some sources write bytes as escapes:
\110\145\154\154\157
If your input includes backslashes, you may need to remove them first (or paste clean ooo values separated by spaces). The safest input is always plain octal numbers.
4. Zero‑padded bytes
You may see padded bytes like 007 instead of 7. Both represent the same byte.
Examples
ASCII example
Octal: 110 145 154 154 157
Text: Hello
Greek / non‑ASCII example (UTF‑8 multi‑byte)
Many characters take multiple bytes in UTF‑8.
Octal: 316 251
Text: Ω
Emoji (often 4 bytes)
Octal: 360 237 231 202
Text: 🙂
If the output looks “too long,” it’s usually because your input contains multi‑byte UTF‑8 characters.
Troubleshooting
“I get � replacement characters”
The � symbol usually means the bytes are not valid UTF‑8 (or the sequence is incomplete).
Check that:
- each value is valid octal (
0–7digits only) - each value is in the byte range
0–377 - you didn’t lose a byte from a multi‑byte character (common when copying partial sequences)
“My values are bigger than 377”
That cannot be a single byte. It usually means:
- you pasted an octal number (not bytes), or
- your data is grouped incorrectly
This tool expects byte values, not integer math.
Quick tips
- Prefer space-separated octal bytes for maximum compatibility.
- If you’re unsure your bytes are correct, do a round-trip check: decode octal → text, then encode that text back with Text to Octal and compare.
Related converters
- Text to Octal — encode UTF‑8 text into octal byte values
- Hex to Text — often easier to read and copy in developer tools
- Binary to Text — decode 8‑bit binary bytes back into text
Notes
- Binary output uses 8-bit bytes separated by spaces.
- Hexadecimal output is lowercase and space-separated.
- This tool supports UTF-8, so non-ASCII characters may use multiple bytes.
How It Works
- Input values are parsed as octal bytes (0–377)
- Bytes are decoded as UTF-8 to reconstruct the original characters
- All logic runs locally in real time