Octal to IP Converter
Enter a dotted-octal or full 32-bit octal value to instantly decode it into a standard dotted-decimal IPv4 address.
Last updated: May 30, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is Octal to IP Converter?
Octal (base-8) representations of IP addresses appear in several contexts: legacy Unix C programs, certain firewall configurations, and security research (because some older HTTP implementations accepted octal-encoded IPs in URLs, enabling bypass of IP-based filters).
A dotted octal address uses the same four-part notation as standard IPv4, but each octet is written in base-8. In C programming, a leading zero marks a literal as octal, so 0300 in C code means the decimal value 192.
To convert a dotted octal address back to standard IPv4: 1. Parse each octet as a base-8 number. 2. Verify each value is within the valid range of 0–255 (0–0377 in octal). 3. Join the decimal values with dots.
For example, 0300.0250.01.01: - 0300 (octal) = 192 (decimal) - 0250 (octal) = 168 (decimal) - 01 (octal) = 1 (decimal) - 01 (octal) = 1 (decimal) Result: 192.168.1.1
How to Use Octal to IP Converter
Enter a dotted octal (e.g. 0300.0250.01.01) or a single octal number in the input field.
The IPv4 address, decimal integer, hex, and binary outputs are shown instantly.
Click any copy button to copy the result.
Click "Load Sample" to see an example.
Common Use Cases
- Decoding octal-encoded IP addresses found in legacy C or Unix network code.
- Security testing of HTTP servers or load balancers that may accept octal URLs.
- CTF (capture the flag) challenges where IPs are obfuscated in octal.
- Learning how different number bases represent the same network address.
Example Input and Output
The dotted octal address 017700000001 (full octal) decodes to the loopback IP 127.0.0.1.
0300.0250.01.01192.168.1.1Data Privacy
All conversions run entirely in your browser. No IP addresses or octal values are sent to any external server.

