Unicode to Octal
Convert Unicode characters to their octal code point values.
Paste Unicode text and get the octal code point for every character — letters, symbols, CJK, emoji, all of it. Handy when you need \101-style escape sequences in C or you're debugging how a string encodes at the code point level. And everything runs in your browser. Nothing gets uploaded.
FAQ
What is octal representation?
Octal (base-8) uses digits 0-7. Each Unicode code point is converted to its octal equivalent. For example, "A" (decimal 65) becomes octal 101.
Where is octal used?
Octal is commonly used in Unix file permissions, some older programming languages, and C/C++ string escape sequences (e.g., \101 for 'A').
How are emoji handled?
Emoji have large code points. For example, 🌍 (U+1F30D, decimal 127757) becomes octal 371415 in octal.
Is this code point octal or byte octal?
This tool shows the octal value of each Unicode code point. For byte-level octal, use a UTF-8 to bytes converter first, then convert each byte to octal.