IP to Octal Converter
Enter a dotted IPv4 address to instantly see its dotted octal, full 32-bit octal, decimal, and hex representations.
Last updated: May 30, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is IP to Octal Converter?
Octal (base-8) notation for IP addresses is less common than decimal or hex, but it has a practical role in Unix/Linux system programming and certain network configuration contexts. In C and many Unix tools, numbers with a leading zero are interpreted as octal — so the dotted-octal address 0300.0250.01.01 is equivalent to 192.168.1.1.
This tool converts each IPv4 octet to its octal equivalent (prefixed with 0) to form the dotted octal address, and also computes the full 32-bit value in base-8.
For example, 192.168.1.1: - 192 (decimal) → 300 (octal) → 0300 - 168 (decimal) → 250 (octal) → 0250 - 1 (decimal) → 1 (octal) → 01 - 1 (decimal) → 1 (octal) → 01 Dotted octal: 0300.0250.01.01
How to Use IP to Octal Converter
Type or paste a dotted-decimal IPv4 address (e.g. 192.168.1.1) in the input field.
The dotted octal, full octal, decimal, and hex values are generated instantly.
Click any copy button to copy the corresponding output.
Click "Load Sample" to see an example.
Common Use Cases
- Understanding how Unix C programs interpret IP literals with leading zeros.
- Converting IPs for use in legacy network configuration files that use octal notation.
- Networking coursework and certification exam practice.
- CTF (capture the flag) challenges that use obfuscated IP representations.
Example Input and Output
The IPv4 address 10.0.0.1 in dotted octal is 012.00.00.01.
10.0.0.1012.00.00.01Data Privacy
All conversions run entirely in your browser. No IP address data is sent to any external server.
Frequently Asked Questions
What is dotted octal notation for IP addresses?
Dotted octal writes each of the four IPv4 octets as a base-8 number with a leading zero. For example, 192 in decimal is 300 in octal, so it becomes 0300 in dotted octal notation.
Are octal IP addresses valid in web browsers?
Historically some browsers accepted octal-encoded URLs, which was exploited in phishing attacks. Modern browsers have mitigated this, but the underlying knowledge is still relevant for security testing.
What is the leading zero in the octal output?
The leading zero is the standard C/Unix convention for denoting octal literals, distinguishing them from decimal numbers. So 0300 means "three hundred in base eight" (= 192 in decimal).
Related Tools
Octal to IP Converter
Convert a dotted-octal or full octal number to its dotted-decimal IPv4 address. Also shows decimal and hex equivalents.
IP to Decimal Converter
Convert a dotted-decimal IPv4 address to its 32-bit decimal integer value. Also shows hex and binary representations.
IP to Hex Converter
Convert a dotted-decimal IPv4 address to its 8-digit hexadecimal value. Also shows decimal and binary outputs.
IP to Binary Converter
Convert dotted decimal IPv4 addresses into binary strings (dotted, spaced, or continuous 32-bit). Includes octet breakdown grid, decimal, and hex outputs.
Binary to IP Converter
Convert 32-bit binary values into standard dot-separated IPv4 addresses. Supports visual octet breakdown, decimal, and hexadecimal output formats.
Hex to IP Converter
Convert hexadecimal addresses (32-bit hex values) into standard dot-separated IPv4 addresses. Supports decimal integer and binary representation formatting.

