What is Text to Octal?

Text to Octal turns text into base-8 byte values. Each character becomes a three-digit octal number, the kind you see in Unix permissions and C escape sequences.

How to use

  1. Type or paste the text you want to convert to octal in the input field.
  2. Select formatting options: delimiter style (space, backslash prefix) and whether to pad with leading zeros.
  3. Copy the octal output for your scripts or docs. Flip to reverse mode to convert octal back to text.

Result

Enter 'Hello' and get '110 145 154 154 157' (space-delimited) or '\\110\\145\\154\\154\\157' (backslash-prefixed for C strings).

Related Tools