Text to Octal

Convert text to octal encoding

Convert

110 145 154 154 157 054 040 127 157 162 154 144 041

What is Text to Octal?

Text to Octal converts any text string into its octal (base-8) byte representation. Each character becomes a three-digit octal number, commonly used in Unix file permissions, escape sequences, and low-level programming.

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 use in shell scripts, escape sequences, or documentation. Convert octal back to text using the reverse mode.

Result

You need the octal escape for 'chmod' in a shell script. Enter 'Hello' and get '110 145 154 154 157' (space-delimited) or '\110\145\154\154\157' (backslash-prefixed for C strings).

Related Tools