Convert an IP Address to a Decimal
cross-browser testing tools
World's simplest online IP to integer converter for web developers and programmers. Just paste your IP address in the form below, press the Convert button, and you'll get an IP as a single decimal number. Press a button – get a decimal IP. No ads, nonsense, or garbage. Useful if you store your IP addresses as integers in your database.
51K
Announcement: We just added another two new tools categories –
PNG Tools and UTF8 Tools. Check them out!
PNG Tools and UTF8 Tools. Check them out!
Want to convert decimal to IP instead?
Use the Decimal to IP converter tool!
Using an IP to Integer Converter in Cross-browser Testing
An IP to integer converter can be useful if you're doing cross-browser testing. For example, if your web application is saving IP addresses in the database as base-10 numbers, then with this utility, you can generate test cases that verify that the conversion from a dot-separated IP to a decimal IP is done correctly. In this case, the input of a test case would be a dot-separated IP, such as 192.168.1.1 and the output would be a single number, such as 3232235777. This program can also be used to quickly obfuscate IP addresses. For example, if you load http://3232235777 in your browser, then the browser converts it to http://192.168.1.1. Additionally, if you think something looks like a decimal IP address, you can quickly test to see what IP it converts to.
Looking for more web developer tools? Try these!
Text Columns to Rows Converter
Text Rows to Columns Converter
Text to HTML Entities Converter
UNIX time to UTC time Converter
UTC time to UNIX time Converter
Seconds to Human Readable Time
Binary Bitwise NAND Calculator
Binary Bitwise XNOR Calculator
Binary Bit Rotator to the Left
Binary Bit Rotator to the Right
Text Character Rotator to the Left
Text Character Rotator to the Right
Number of Letters in Text Counter
Number of Words in Text Counter
Number of Lines in Text Counter
Number of Paragraphs in Text Counter
Decimal to Scientific Converter
Scientific to Decimal Converter
Celsius to Fahrenheit Converter
Pro tip: You can use ?input=text query argument to pass text to tools.