About this tool
Octal escapes still turn up in C strings, shell printf commands and old file formats. This converter writes each UTF-8 byte as a three-digit base-8 value from 000 to 377, and reads octal lists separated by spaces, commas or new lines. Everything happens on your device.
How to use Text to Octal Converter
- Choose a direction.
- Enter text or octal numbers.
- Pick a separator.
- Copy the result.
Frequently asked questions
What is the largest valid value?
377, which is 255 in decimal, the largest value that fits in one byte.
Can I use this for chmod permissions?
No. Those octal digits describe permission bits, not characters. Use the chmod calculator instead.