Octal to Decimal
Enter an octal number and convert it to decimal, hexadecimal, and binary. Results appear instantly in your browser.
0-7 onlyOctal to Decimal Converter
This tool converts octal (base 8) numbers into their decimal (base 10), hexadecimal (base 16), and binary (base 2) equivalents. It is useful for working with Unix file permissions, legacy systems, or any context where octal notation is used.
The conversion runs entirely in your browser using JavaScript's BigNumber library for precision.
How to use
- Type or paste an octal number into the input field (e.g.
377or755). - Click Convert to see the decimal, hexadecimal, and binary results.
- Use the Copy button to copy the decimal result to your clipboard.
- Click Clear to reset all fields.
What is octal?
Octal is a base 8 number system that uses the digits 0 through 7. Each octal digit represents exactly three binary digits, making it a convenient shorthand for binary values. It is commonly seen in Unix file permissions (e.g. chmod 755) and some legacy computing contexts.
Example
Octal: 377 Decimal: 255 Hexadecimal: FF Binary: 11111111
MCP integration
MCP (Model Context Protocol) lets AI agents and apps discover and run Coding.Tools utilities for repeatable conversions, formatting, hashing, and generation workflows.
MCP tool name: octal-to-decimal
MCP endpoint: https://coding.tools/mcp
Call tools/list first. Each tool entry includes inputSchema, outputSchema, and examples so an AI agent or client can build valid arguments without guessing.
For tools/call, read result.content[0].text for the display value and result.structuredContent for machine parsing. Tool-level failures return isError: true; protocol failures return a JSON-RPC error.
Example tools/call request:
curl -s https://coding.tools/mcp \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "MCP-Protocol-Version: 2025-06-18" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"octal-to-decimal","arguments":{"input":"755"}}}'
Most text and data tools accept an input string plus optional options. Browser-only image tools are listed for discovery and return a web UI link when they need browser image APIs.