Network
Convert integers to IPv4 addresses. Supports batch conversion of multiple integers.
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/integer-to-ipv4' \
-H 'Content-Type: application/json' \
-d '{"integerInput":"Enter integers to convert, one per line:\n3232235777\n167772161\n2886729729\n2130706433\n134744072\n\nYou can also use hexadecimal:\n0xC0A80101\n0x0A000001","includeBinary":false,"includeHex":false,"sortByInteger":false,"addLineNumbers":false,"showSourceData":false}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/integer-to-ipv4| Name | Type | Required | Description |
|---|---|---|---|
| integerInput | textarea | Yes | — |
| includeBinary | checkbox | No | Show 32-bit binary representation |
| includeHex | checkbox | No | Show hexadecimal representation |
| sortByInteger | checkbox | No | Sort results by integer value (ascending) |
| addLineNumbers | checkbox | No | Number each conversion result |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-integer-to-ipv4": {
"name": "integer-to-ipv4",
"description": "Convert integers to IPv4 addresses. Supports batch conversion of multiple integers.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=integer-to-ipv4",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "integer-to-ipv4",
"arguments": {
"integerInput": "Enter integers to convert, one per line:\n3232235777\n167772161\n2886729729\n2130706433\n134744072\n\nYou can also use hexadecimal:\n0xC0A80101\n0x0A000001",
"includeBinary": false,
"includeHex": false,
"sortByInteger": false,
"addLineNumbers": false,
"showSourceData": false
}
}
}Questions or issues? Contact [email protected]
| showSourceData | checkbox | No | Display original integer values in results |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}