# INET\_NTOA

Converts a 32-bit integer to an IPv4 address.

## Syntax

```sql
INET_NOTA ( int32 )

```

## Arguments

* int32: an integer.

## Return Type

String, a dotted-quad IP address, eg “1.2.3.4” or NULL if the IP address cannot be parsed.

> **📝 Note**: This function does not handle IPv6 addresses.

## Examples

```sql
SELECT INET_NTOA(16909060);

```

```output

+---------------------+
| inet_ntoa(16909060) |
+---------------------+
| 1.2.3.4             |
+---------------------+

```

```sql
SELECT INET_NTOA(169090600000000000);

```

```output

+-------------------------------+
| INET_NTOA(169090600000000000) |
+-------------------------------+
| NULL                          |
+-------------------------------+
```

**Related Topics**

* [INET\_ATON](https://docs.singlestore.com/db/v9.1/reference/sql-reference/string-functions/inet-aton.md)

***

Modified at: April 4, 2023

Source: [/db/v9.1/reference/sql-reference/string-functions/inet-ntoa/](https://docs.singlestore.com/db/v9.1/reference/sql-reference/string-functions/inet-ntoa/)

(An index of the documentation is available at /llms.txt)
