Free · No signup · Runs in your browser

Extract IP addresses toCSV

Drop in a log file, firewall config, or pile of prose and get back a tidy two-column CSV of every IPv4 and IPv6 address found — validated, optionally deduplicated, and processed 100% in your browser.

01 · How it works

Three steps, then done.

Extracting IPs by hand from a noisy log is error-prone and slow. This tool scans your pasted text, validates each candidate against real addressing rules, and hands back a CSV you can sort, filter, or import anywhere.

1

Paste your text

Drop in anything — a server log, an nginx config, an email thread, a packet dump. It does not need to be structured. The text stays in your browser the entire time.

2

Choose version and dedupe

Pick IPv4, IPv6, or both, and decide whether to collapse duplicate addresses. Defaults pull every valid address and remove repeats.

3

Copy the CSV

Get a two-column ip,version CSV. Each IPv4 is octet-validated (0–255) and each IPv6 is checked for valid groups and :: compression — no garbage rows.

02 · Why ours

Why use this IP extractorextractor

Regex one-liners catch some IPs and miss others; they also happily match things like 999.1.1.1. This tool validates instead of guessing.

  • 01

    Real validation, not just regex

    IPv4 octets are bounds-checked to 0–255 with no sloppy leading zeros, and IPv6 is parsed for correct group counts and a single :: compression — so version strings and timestamps do not slip through.

  • 02

    IPv4, IPv6, and mixed forms

    Handles full and compressed IPv6, embedded-IPv4 tails like ::ffff:192.0.2.1, and zone indices like fe80::1%eth0. Filter to a single version when you only want one.

  • 03

    Deduplicated and CSV-ready

    Turn on dedupe to keep one row per unique address. Output is RFC-4180 CSV that drops straight into a spreadsheet, BI tool, or another csvtodashboard.com utility.

  • 04

    Completely private

    There is no server. Your text is parsed by JavaScript in your own browser tab and never uploaded — safe for logs that contain internal hostnames or sensitive infrastructure.

"It validates every octet and every IPv6 group instead of trusting a loose regex — so a build number like 10.0.26200 won't masquerade as an IP unless it actually is one."
csvtodashboard.com
03 · FAQ

ip extractor questions.

Does my text get uploaded anywhere?
No. The entire tool runs as JavaScript inside your browser. The text you paste is never sent to a server, which makes it safe for logs containing internal IPs, hostnames, or other sensitive data.
Each candidate must have exactly four dot-separated octets, every octet must be 0–255, and multi-digit octets cannot have a leading zero. So 256.1.1.1 and 01.2.3.4 are rejected, while 192.168.0.1 is kept.
Full eight-group addresses, compressed addresses using a single ::, embedded-IPv4 tails such as ::ffff:192.0.2.128, and addresses with a zone index like fe80::1%eth0. Each hextet is checked to be 1–4 hex digits and only one :: is allowed.
With dedupe on (the default), each unique address appears only once, matched case-insensitively for IPv6. Turn it off to keep every occurrence in the order it appears in your text.
Two: ip and version. The version column is either ipv4 or ipv6, so you can sort or filter by address family after import.