Decimal to Octal Converter
Get the octal (base-8) form of a decimal number — the notation behind Unix permission codes and some legacy systems. Everything runs locally in your browser.
Decimal (base 10) in, Octal (base 8) out.
How it works
Repeatedly divide by 8 and read the remainders bottom-to-top. 42 → 5 r2 → "52".
Examples
- 4252
- 255377
- 10242000
FAQ
How do I convert decimal to octal?
Repeatedly divide by 8 and read the remainders bottom-to-top. 42 → 5 r2 → "52". Or just paste your decimal value into the box above and the octal result appears instantly.
Does this Decimal to Octal converter run in my browser?
Yes. The conversion happens entirely client-side — nothing you type is uploaded — and it uses big-integer math, so even very long decimal numbers convert exactly.
What is the largest number I can convert?
There is no practical limit. Because the converter works with arbitrary-precision integers, a decimal value of any length converts without rounding or overflow.
Need other bases, custom radixes, or two-way editing? Use the full Number Base Converter.