Navigation

HomeImage ToolsCode ToolsMath ToolsDate ToolsGeneratorsUtilities
Color ToolsText ToolsPDF Tools

UTF-8 to Octal

Convert UTF-8 text characters to their octal code point values.

Drop in any text and see each character as an octal number — the same format you'd use in a C escape like \101 for 'A' or a chmod command. Handy when you're debugging encoding issues, writing shell scripts, or just curious what a Unicode character looks like in base-8. And everything runs in your browser. Nothing gets uploaded.

How It Works

Each character is converted to its Unicode code point using codePointAt(), then displayed as an octal (base-8) number. For example, 'A' (code point 65) becomes 101, and 'z' (code point 122) becomes 172. Octal notation is commonly used in Unix file permissions and C/C++ escape sequences.

Related Tools