Text to Octal Converter
Save on GoogleTip: drag and drop a .txt file onto the input box.
Output appears here
Related Developer Tools | |
| Tool Name | Explanation |
|---|---|
| Octal to Text Converter | Decodes octal bytes (110 145 154 154 157) back into readable text. |
| Text to Hex Converter | Converts text into hexadecimal bytes with separator, case and prefix options. |
| Hex to Text Converter | Decodes hexadecimal bytes (48 65 6C 6C 6F) back into readable text. |
| Text to Binary Converter | Converts text into 8-bit or 7-bit binary (0s and 1s) instantly. |
| Binary to Text Converter | Decodes binary (0s and 1s) back into readable text. |
| Base64 Encode / Decode | Encodes text or files to Base64 and decodes Base64 strings instantly. |
| JSON to Go Struct Converter | Generates idiomatic Go structs with json tags from any JSON payload. |
| JSON to TypeScript Interface | Generates typed TypeScript interfaces from any JSON payload. |
| HTML to JSX Converter | Converts HTML markup into valid React JSX (className, self-closing tags, style objects). |
| TOML to JSON Converter | Transforms TOML config files into clean, formatted JSON or YAML. |
Common Words in Octal Code
| Text | Category | Octal (UTF-8) | Decimal Bytes |
|---|---|---|---|
Hi | Greeting | 110 151 | 72 105 |
Hello | Greeting | 110 145 154 154 157 | 72 101 108 108 111 |
Hey | Greeting | 110 145 171 | 72 101 121 |
Hola | Greeting | 110 157 154 141 | 72 111 108 97 |
Bonjour | Greeting | 102 157 156 152 157 165 162 | 66 111 110 106 111 117 114 |
Ciao | Greeting | 103 151 141 157 | 67 105 97 111 |
Hallo | Greeting | 110 141 154 154 157 | 72 97 108 108 111 |
Namaste | Greeting | 116 141 155 141 163 164 145 | 78 97 109 97 115 116 101 |
Welcome | Greeting | 127 145 154 143 157 155 145 | 87 101 108 99 111 109 101 |
Goodbye | Greeting | 107 157 157 144 142 171 145 | 71 111 111 100 98 121 101 |
Good Morning | Greeting | 107 157 157 144 040 115 157 162 156 151 156 147 | 71 111 111 100 32 77 111 114 110 105 110 103 |
Good Night | Greeting | 107 157 157 144 040 116 151 147 150 164 | 71 111 111 100 32 78 105 103 104 116 |
Good Luck | Greeting | 107 157 157 144 040 114 165 143 153 | 71 111 111 100 32 76 117 99 107 |
See You | Greeting | 123 145 145 040 131 157 165 | 83 101 101 32 89 111 117 |
Hello There | Greeting | 110 145 154 154 157 040 124 150 145 162 145 | 72 101 108 108 111 32 84 104 101 114 101 |
Love | Love & Feelings | 114 157 166 145 | 76 111 118 101 |
I love you | Love & Feelings | 111 040 154 157 166 145 040 171 157 165 | 73 32 108 111 118 101 32 121 111 117 |
Miss you | Love & Feelings | 115 151 163 163 040 171 157 165 | 77 105 115 115 32 121 111 117 |
Happy | Love & Feelings | 110 141 160 160 171 | 72 97 112 112 121 |
Sad | Love & Feelings | 123 141 144 | 83 97 100 |
Angry | Love & Feelings | 101 156 147 162 171 | 65 110 103 114 121 |
Hug | Love & Feelings | 110 165 147 | 72 117 103 |
Kiss | Love & Feelings | 113 151 163 163 | 75 105 115 115 |
Smile | Love & Feelings | 123 155 151 154 145 | 83 109 105 108 101 |
Friend | Love & Feelings | 106 162 151 145 156 144 | 70 114 105 101 110 100 |
Family | Love & Feelings | 106 141 155 151 154 171 | 70 97 109 105 108 121 |
Mom | Love & Feelings | 115 157 155 | 77 111 109 |
Dad | Love & Feelings | 104 141 144 | 68 97 100 |
Baby | Love & Feelings | 102 141 142 171 | 66 97 98 121 |
Heart | Love & Feelings | 110 145 141 162 164 | 72 101 97 114 116 |
Yes | Common Phrase | 131 145 163 | 89 101 115 |
No | Common Phrase | 116 157 | 78 111 |
OK | Common Phrase | 117 113 | 79 75 |
Thanks | Common Phrase | 124 150 141 156 153 163 | 84 104 97 110 107 115 |
Thank you | Common Phrase | 124 150 141 156 153 040 171 157 165 | 84 104 97 110 107 32 121 111 117 |
Please | Common Phrase | 120 154 145 141 163 145 | 80 108 101 97 115 101 |
Sorry | Common Phrase | 123 157 162 162 171 | 83 111 114 114 121 |
Congrats | Common Phrase | 103 157 156 147 162 141 164 163 | 67 111 110 103 114 97 116 115 |
Cool | Common Phrase | 103 157 157 154 | 67 111 111 108 |
Awesome | Common Phrase | 101 167 145 163 157 155 145 | 65 119 101 115 111 109 101 |
Help | Common Phrase | 110 145 154 160 | 72 101 108 112 |
Peace | Common Phrase | 120 145 141 143 145 | 80 101 97 99 101 |
Hope | Common Phrase | 110 157 160 145 | 72 111 112 101 |
Dream | Common Phrase | 104 162 145 141 155 | 68 114 101 97 109 |
Believe | Common Phrase | 102 145 154 151 145 166 145 | 66 101 108 105 101 118 101 |
Stay Strong | Common Phrase | 123 164 141 171 040 123 164 162 157 156 147 | 83 116 97 121 32 83 116 114 111 110 103 |
Happy Birthday | Celebration | 110 141 160 160 171 040 102 151 162 164 150 144 141 171 | 72 97 112 112 121 32 66 105 114 116 104 100 97 121 |
Merry Christmas | Celebration | 115 145 162 162 171 040 103 150 162 151 163 164 155 141 163 | 77 101 114 114 121 32 67 104 114 105 115 116 109 97 115 |
Happy New Year | Celebration | 110 141 160 160 171 040 116 145 167 040 131 145 141 162 | 72 97 112 112 121 32 78 101 119 32 89 101 97 114 |
Happy Diwali | Celebration | 110 141 160 160 171 040 104 151 167 141 154 151 | 72 97 112 112 121 32 68 105 119 97 108 105 |
Eid Mubarak | Celebration | 105 151 144 040 115 165 142 141 162 141 153 | 69 105 100 32 77 117 98 97 114 97 107 |
Congratulations | Celebration | 103 157 156 147 162 141 164 165 154 141 164 151 157 156 163 | 67 111 110 103 114 97 116 117 108 97 116 105 111 110 115 |
Binary | Tech & Code | 102 151 156 141 162 171 | 66 105 110 97 114 121 |
Code | Tech & Code | 103 157 144 145 | 67 111 100 101 |
Hello World | Tech & Code | 110 145 154 154 157 040 127 157 162 154 144 | 72 101 108 108 111 32 87 111 114 108 100 |
Python | Tech & Code | 120 171 164 150 157 156 | 80 121 116 104 111 110 |
JavaScript | Tech & Code | 112 141 166 141 123 143 162 151 160 164 | 74 97 118 97 83 99 114 105 112 116 |
Java | Tech & Code | 112 141 166 141 | 74 97 118 97 |
Go | Tech & Code | 107 157 | 71 111 |
Rust | Tech & Code | 122 165 163 164 | 82 117 115 116 |
React | Tech & Code | 122 145 141 143 164 | 82 101 97 99 116 |
HTML | Tech & Code | 110 124 115 114 | 72 84 77 76 |
CSS | Tech & Code | 103 123 123 | 67 83 83 |
JSON | Tech & Code | 112 123 117 116 | 74 83 79 78 |
SQL | Tech & Code | 123 121 114 | 83 81 76 |
Linux | Tech & Code | 114 151 156 165 170 | 76 105 110 117 120 |
Computer | Tech & Code | 103 157 155 160 165 164 145 162 | 67 111 109 112 117 116 101 114 |
Data | Tech & Code | 104 141 164 141 | 68 97 116 97 |
Bit | Tech & Code | 102 151 164 | 66 105 116 |
Byte | Tech & Code | 102 171 164 145 | 66 121 116 101 |
Hacker | Tech & Code | 110 141 143 153 145 162 | 72 97 99 107 101 114 |
Admin | Tech & Code | 101 144 155 151 156 | 65 100 109 105 110 |
Password | Tech & Code | 120 141 163 163 167 157 162 144 | 80 97 115 115 119 111 114 100 |
Internet | Tech & Code | 111 156 164 145 162 156 145 164 | 73 110 116 101 114 110 101 116 |
Google | Tech & Code | 107 157 157 147 154 145 | 71 111 111 103 108 101 |
Android | Tech & Code | 101 156 144 162 157 151 144 | 65 110 100 114 111 105 100 |
Robot | Tech & Code | 122 157 142 157 164 | 82 111 98 111 116 |
AI | Tech & Code | 101 111 | 65 73 |
Cat | Everyday Word | 103 141 164 | 67 97 116 |
Dog | Everyday Word | 104 157 147 | 68 111 103 |
Sun | Everyday Word | 123 165 156 | 83 117 110 |
Moon | Everyday Word | 115 157 157 156 | 77 111 111 110 |
Star | Everyday Word | 123 164 141 162 | 83 116 97 114 |
Fire | Everyday Word | 106 151 162 145 | 70 105 114 101 |
Water | Everyday Word | 127 141 164 145 162 | 87 97 116 101 114 |
Earth | Everyday Word | 105 141 162 164 150 | 69 97 114 116 104 |
Money | Everyday Word | 115 157 156 145 171 | 77 111 110 101 121 |
Game | Everyday Word | 107 141 155 145 | 71 97 109 101 |
Music | Everyday Word | 115 165 163 151 143 | 77 117 115 105 99 |
Magic | Everyday Word | 115 141 147 151 143 | 77 97 103 105 99 |
King | Everyday Word | 113 151 156 147 | 75 105 110 103 |
Queen | Everyday Word | 121 165 145 145 156 | 81 117 101 101 110 |
Angel | Everyday Word | 101 156 147 145 154 | 65 110 103 101 108 |
Tiger | Everyday Word | 124 151 147 145 162 | 84 105 103 101 114 |
Life | Everyday Word | 114 151 146 145 | 76 105 102 101 |
Time | Everyday Word | 124 151 155 145 | 84 105 109 101 |
World | Everyday Word | 127 157 162 154 144 | 87 111 114 108 100 |
Home | Everyday Word | 110 157 155 145 | 72 111 109 101 |
Light | Everyday Word | 114 151 147 150 164 | 76 105 103 104 116 |
Dark | Everyday Word | 104 141 162 153 | 68 97 114 107 |
ASCII Octal Reference Matrix (0-127)
| Character | Octal | Decimal | Hex | Bits (8-bit) |
|---|---|---|---|---|
| NUL (Null) | 000 | 0 | 00 | 00000000 |
| SOH | 001 | 1 | 01 | 00000001 |
| STX | 002 | 2 | 02 | 00000010 |
| ETX | 003 | 3 | 03 | 00000011 |
| EOT | 004 | 4 | 04 | 00000100 |
| ENQ | 005 | 5 | 05 | 00000101 |
| ACK | 006 | 6 | 06 | 00000110 |
| BEL (Bell) | 007 | 7 | 07 | 00000111 |
| BS (Backspace) | 010 | 8 | 08 | 00001000 |
| HT (Horizontal Tab) | 011 | 9 | 09 | 00001001 |
| LF (Line Feed) | 012 | 10 | 0A | 00001010 |
| VT | 013 | 11 | 0B | 00001011 |
| FF | 014 | 12 | 0C | 00001100 |
| CR (Carriage Return) | 015 | 13 | 0D | 00001101 |
| SO | 016 | 14 | 0E | 00001110 |
| SI | 017 | 15 | 0F | 00001111 |
| DLE | 020 | 16 | 10 | 00010000 |
| DC1 | 021 | 17 | 11 | 00010001 |
| DC2 | 022 | 18 | 12 | 00010010 |
| DC3 | 023 | 19 | 13 | 00010011 |
| DC4 | 024 | 20 | 14 | 00010100 |
| NAK | 025 | 21 | 15 | 00010101 |
| SYN | 026 | 22 | 16 | 00010110 |
| ETB | 027 | 23 | 17 | 00010111 |
| CAN | 030 | 24 | 18 | 00011000 |
| EM | 031 | 25 | 19 | 00011001 |
| SUB | 032 | 26 | 1A | 00011010 |
| ESC (Escape) | 033 | 27 | 1B | 00011011 |
| FS | 034 | 28 | 1C | 00011100 |
| GS | 035 | 29 | 1D | 00011101 |
| RS | 036 | 30 | 1E | 00011110 |
| US | 037 | 31 | 1F | 00011111 |
| SP (Space) | 040 | 32 | 20 | 00100000 |
! | 041 | 33 | 21 | 00100001 |
" | 042 | 34 | 22 | 00100010 |
# | 043 | 35 | 23 | 00100011 |
$ | 044 | 36 | 24 | 00100100 |
% | 045 | 37 | 25 | 00100101 |
& | 046 | 38 | 26 | 00100110 |
' | 047 | 39 | 27 | 00100111 |
( | 050 | 40 | 28 | 00101000 |
) | 051 | 41 | 29 | 00101001 |
* | 052 | 42 | 2A | 00101010 |
+ | 053 | 43 | 2B | 00101011 |
, | 054 | 44 | 2C | 00101100 |
- | 055 | 45 | 2D | 00101101 |
. | 056 | 46 | 2E | 00101110 |
/ | 057 | 47 | 2F | 00101111 |
0 | 060 | 48 | 30 | 00110000 |
1 | 061 | 49 | 31 | 00110001 |
2 | 062 | 50 | 32 | 00110010 |
3 | 063 | 51 | 33 | 00110011 |
4 | 064 | 52 | 34 | 00110100 |
5 | 065 | 53 | 35 | 00110101 |
6 | 066 | 54 | 36 | 00110110 |
7 | 067 | 55 | 37 | 00110111 |
8 | 070 | 56 | 38 | 00111000 |
9 | 071 | 57 | 39 | 00111001 |
: | 072 | 58 | 3A | 00111010 |
; | 073 | 59 | 3B | 00111011 |
< | 074 | 60 | 3C | 00111100 |
= | 075 | 61 | 3D | 00111101 |
> | 076 | 62 | 3E | 00111110 |
? | 077 | 63 | 3F | 00111111 |
@ | 100 | 64 | 40 | 01000000 |
A | 101 | 65 | 41 | 01000001 |
B | 102 | 66 | 42 | 01000010 |
C | 103 | 67 | 43 | 01000011 |
D | 104 | 68 | 44 | 01000100 |
E | 105 | 69 | 45 | 01000101 |
F | 106 | 70 | 46 | 01000110 |
G | 107 | 71 | 47 | 01000111 |
H | 110 | 72 | 48 | 01001000 |
I | 111 | 73 | 49 | 01001001 |
J | 112 | 74 | 4A | 01001010 |
K | 113 | 75 | 4B | 01001011 |
L | 114 | 76 | 4C | 01001100 |
M | 115 | 77 | 4D | 01001101 |
N | 116 | 78 | 4E | 01001110 |
O | 117 | 79 | 4F | 01001111 |
P | 120 | 80 | 50 | 01010000 |
Q | 121 | 81 | 51 | 01010001 |
R | 122 | 82 | 52 | 01010010 |
S | 123 | 83 | 53 | 01010011 |
T | 124 | 84 | 54 | 01010100 |
U | 125 | 85 | 55 | 01010101 |
V | 126 | 86 | 56 | 01010110 |
W | 127 | 87 | 57 | 01010111 |
X | 130 | 88 | 58 | 01011000 |
Y | 131 | 89 | 59 | 01011001 |
Z | 132 | 90 | 5A | 01011010 |
[ | 133 | 91 | 5B | 01011011 |
\ | 134 | 92 | 5C | 01011100 |
] | 135 | 93 | 5D | 01011101 |
^ | 136 | 94 | 5E | 01011110 |
_ | 137 | 95 | 5F | 01011111 |
` | 140 | 96 | 60 | 01100000 |
a | 141 | 97 | 61 | 01100001 |
b | 142 | 98 | 62 | 01100010 |
c | 143 | 99 | 63 | 01100011 |
d | 144 | 100 | 64 | 01100100 |
e | 145 | 101 | 65 | 01100101 |
f | 146 | 102 | 66 | 01100110 |
g | 147 | 103 | 67 | 01100111 |
h | 150 | 104 | 68 | 01101000 |
i | 151 | 105 | 69 | 01101001 |
j | 152 | 106 | 6A | 01101010 |
k | 153 | 107 | 6B | 01101011 |
l | 154 | 108 | 6C | 01101100 |
m | 155 | 109 | 6D | 01101101 |
n | 156 | 110 | 6E | 01101110 |
o | 157 | 111 | 6F | 01101111 |
p | 160 | 112 | 70 | 01110000 |
q | 161 | 113 | 71 | 01110001 |
r | 162 | 114 | 72 | 01110010 |
s | 163 | 115 | 73 | 01110011 |
t | 164 | 116 | 74 | 01110100 |
u | 165 | 117 | 75 | 01110101 |
v | 166 | 118 | 76 | 01110110 |
w | 167 | 119 | 77 | 01110111 |
x | 170 | 120 | 78 | 01111000 |
y | 171 | 121 | 79 | 01111001 |
z | 172 | 122 | 7A | 01111010 |
{ | 173 | 123 | 7B | 01111011 |
| | 174 | 124 | 7C | 01111100 |
} | 175 | 125 | 7D | 01111101 |
~ | 176 | 126 | 7E | 01111110 |
| DEL (Delete) | 177 | 127 | 7F | 01111111 |
UTF-8 Multi-Byte Octal Reference Matrix
| Example / Range | Code Point | Bytes | UTF-8 Octal |
|---|---|---|---|
| 1-byte range (ASCII) | U+0000 to U+007F | 1 | 000-177 |
| 2-byte range | U+0080 to U+07FF | 2 | 302-337 200-277 |
| 3-byte range | U+0800 to U+FFFF | 3 | 340-357 200-277 200-277 |
| 4-byte range | U+10000 to U+10FFFF | 4 | 360-364 200-277 200-277 200-277 |
A | U+0041 | 1 | 101 |
é | U+00E9 | 2 | 303 251 |
ñ | U+00F1 | 2 | 303 261 |
ß | U+00DF | 2 | 303 237 |
£ | U+00A3 | 2 | 302 243 |
€ | U+20AC | 3 | 342 202 254 |
₹ | U+20B9 | 3 | 342 202 271 |
✓ | U+2713 | 3 | 342 234 223 |
★ | U+2605 | 3 | 342 230 205 |
न | U+0928 | 3 | 340 244 250 |
你 | U+4F60 | 3 | 344 275 240 |
あ | U+3042 | 3 | 343 201 202 |
한 | U+D55C | 3 | 355 225 234 |
😀 | U+1F600 | 4 | 360 237 230 200 |
🙂 | U+1F642 | 4 | 360 237 231 202 |
🚀 | U+1F680 | 4 | 360 237 232 200 |
Technical Q&A / FAQ Matrix
| Technical Developer Question | Exact Solution & Code Snippet |
|---|---|
| How do I convert text to octal in JavaScript? | [...new TextEncoder().encode(text)].map(b => b.toString(8).padStart(3, '0')).join(' ') |
| How do I convert text to octal in Python? | ' '.join(f'{b:03o}' for b in text.encode('utf-8')) |
| How do I convert text to octal in Go? | for _, b := range []byte(s) { fmt.Printf("%03o ", b) } |
| How do I convert text to octal in Java? | for (byte b : s.getBytes(StandardCharsets.UTF_8)) System.out.printf("%03o ", b & 0xFF); |
| How do I convert text to octal in C#? | string.Join(" ", Encoding.UTF8.GetBytes(s).Select(b => Convert.ToString(b, 8).PadLeft(3, '0'))) |
| How do I convert text to octal in PHP? | echo implode(' ', array_map(fn($c) => sprintf('%03o', ord($c)), str_split($s))); |
| How do I convert text to octal in Rust? | s.bytes().map(|b| format!("{:03o}", b)).collect::<Vec<_>>().join(" ") |
| How do I convert text to octal on Linux? | printf '%s' 'Hi' | od -An -to1 |
| What is the octal code for the letter A? | 101 (decimal 65, hex 41). The lowercase a is 141. |
| Why does each byte use 3 octal digits? | One byte holds 0 to 255, which is 000 to 377 in octal. Each octal digit covers 3 bits, so 3 digits cover the 8 bits. |
| What is the octal code for a space? | 040 (decimal 32). |
| Why does an emoji give 12 octal digits? | UTF-8 uses 1 to 4 bytes per character. The rocket emoji is 4 bytes: 360 237 232 200. |
| Why is the octal for an accented letter longer? | Characters above U+007F take 2 to 4 bytes in UTF-8. The letter e with an acute accent is 303 251. |
| Where is octal still used? | Unix file permissions (chmod 755), C and shell string escapes such as \101, and some legacy protocols. |
| What do the 0o and backslash prefixes mean? | 0o marks an octal number in Python 3, JavaScript and Rust. A backslash followed by digits is a byte escape inside C, Go and shell strings. |
| How do I convert octal back to text? | new TextDecoder().decode(new Uint8Array(oct.split(' ').map(o => parseInt(o, 8)))) |