chain
Decimal to Octal
⌃⏎ run · clear · / focus input
Decimal · base 10
Hexadecimal · base 16
Binary · base 2
Octal · base 8
send result to
no matches
Enter a decimal value above to convert it
// about this tool

Decimal to Octal Online

Updated 2026-07-26

Convert decimal to octal online for free. Type any base-10 number and SnapTools shows its octal value instantly, in your browser. Nothing you enter is uploaded.

Going from a plain integer to octal is most useful when the number represents a Unix permission bitmask — 493 only becomes recognizable once you see it as 755. This converter runs the repeated-division-by-8 for you and returns clean octal digits, ready to use with chmod, umask, or any tool that expects base-8 notation. For every base at once, use the Number Base Converter.

// how to use

  1. 1 Type or paste a decimal (base-10) number into the input.
  2. 2 SnapTools converts it to octal as you type.
  3. 3 Copy the octal result, or open the Number Base Converter for all bases at once.

// examples

Common file permission
Input
493
Output
755
Byte value
Input
255
Output
377

// common uses

Converting a plain integer permission value into a chmod-style octal value Producing octal literals for legacy C or POSIX code Learning base-8 positional notation Checking a manual decimal-to-octal conversion

// faq

Is my input uploaded to a server?
No. The conversion runs entirely in your browser, so nothing you enter leaves your machine.
How do I convert decimal to octal by hand?
Divide the number by 8 repeatedly, writing down each remainder; the remainders read bottom-to-top are the octal digits. 493 gives remainders 5, 5, and 7, which read as 755. This tool does it instantly.
Why would I want a decimal number as octal?
The most common case is turning a plain integer permission value into the octal form Unix tools like chmod expect — 493 as a permission bit isn't meaningful until you see it as 755.
Does the output use a leading 0?
No — this tool returns the plain octal digits without an old-style leading 0 prefix. Add one yourself if your target format requires it.
What is the largest number it handles?
It handles standard integer values comfortably. For extremely large numbers, precision follows normal integer limits.

Use this via API

Get a free API key →
curl -X POST https://thesnaptools.com/api/v1/tools/decimal-to-octal \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"number":"493"}'
Esc
↑↓ navigate open Esc close