Text to Octal Converter
Convert text to octal (base 8) in your browser. Each byte becomes a three-digit octal value, with a delimiter you choose.
Independently verified for accuracy
Calculator by Toolsloft ↗Convert text into octal, the base-8 numbering system, one value per byte. Paste a word or sentence and get the octal codes you can drop into code, escape sequences, or low-level debugging. Everything runs in your browser, so nothing you type is sent anywhere.
How this is calculated
Each character is first encoded as UTF-8 bytes, then every byte is written as a three-digit octal number from 000 to 377, which is the full range of an 8-bit byte. Values are joined by the delimiter you choose, a single space by default. Encoding to UTF-8 first keeps multi-byte characters such as accents and emoji correct.
How to use
- Type or paste your text into the input box.
- Choose a delimiter, or keep the default single space.
- Copy the octal output.
Examples
- Two letters:
Hi → 110 151 - Accented character:
é → 303 251
FAQ
- Why are there three digits per value?
- A single byte ranges from 0 to 255, which is 000 to 377 in octal, so three digits covers every possible byte and keeps the output evenly aligned. Values are zero-padded to three digits.
- How are accented letters and emoji handled?
- The text is encoded as UTF-8 first, so any character that takes more than one byte simply produces more than one octal value. That keeps the conversion reversible and matches how other byte tools work.
- Can I change the separator between values?
- Yes. The default is a single space, but you can set it to any string, including an empty one if you want the octal values run together.