← All Docs

CSV Import & Export

Bulk import subnets and addresses from CSV files, or export your data for reporting and backup.

Exporting Data

IPCraft offers two separate exports: Export Subnets exports your network definitions (CIDRs, folders, VLANs, VRFs, locations, gateways, DNS settings), while Export Addresses exports the individual IP address assignments within those subnets (IPs, hostnames, MACs, statuses, owners). Think of subnets as the containers and addresses as the items inside them.

Export Subnets

Click the Export dropdown in the Subnets toolbar and select Export Subnets. A CSV file will download containing all your subnets with human-readable names for folders, VLANs, VRFs, and locations (not UUIDs).

If you have a folder filter active, only subnets in that folder will be exported.

Subnet export columns:

ColumnDescription
networkCIDR notation (e.g., 10.0.0.0/24)
nameSubnet name
descriptionSubnet description
folderFolder name
vlanVLAN number
vrfVRF name
locationLocation name
gatewayDefault gateway IP
dns_primaryPrimary DNS server
dns_secondarySecondary DNS server
is_poolWhether this is an IP pool
scan_enabledWhether scanning is enabled

Export Addresses

You can export addresses in two ways:

Address export columns:

ColumnDescription
ipIP address
subnetParent subnet CIDR
hostnameHostname or FQDN
mac_addressMAC address
descriptionDescription
statusStatus (assigned, reserved, d-dhcp, m-dhcp, gateway)
ownerOwner or team
ptr_recordPTR (reverse DNS) record
Tip: Exported CSVs use the exact format needed for re-import. You can export, edit in a spreadsheet, and re-import — duplicates will be automatically skipped.

Importing Subnets

Quick Start

  1. Click Import in the Subnets toolbar
  2. Select "Subnets" as the import type
  3. Upload your CSV file (or download a template first)
  4. Review the auto-detected column mapping and adjust if needed
  5. Preview the validated data and fix any errors
  6. Click Import to create the subnets

Required Columns

Only network is required. The network must be in CIDR notation (e.g., 10.0.0.0/24).

Alternatively, you can provide the network address in one column and the subnet mask or prefix length in a separate column. IPCraft will automatically combine them.

Supported CIDR Formats

Optional Columns

ColumnNotes
nameSubnet name/label
descriptionFree-text description
folderFolder name — auto-created if it doesn't exist
vlanVLAN number (1-4094) — auto-created if it doesn't exist
vrfVRF name — auto-created if it doesn't exist
locationLocation name — auto-created if it doesn't exist
gatewayDefault gateway IP address
dns_primaryPrimary DNS server
dns_secondarySecondary DNS server
is_pooltrue/false, yes/no, 1/0
Auto-creation: Folders, VLANs, VRFs, and locations referenced in your CSV will be automatically created if they don't already exist. This makes migration from other tools seamless.

Duplicate Handling

If a subnet with the same CIDR in the same VRF already exists, it will be skipped (not errored). This means you can safely re-import the same CSV without creating duplicates.

Importing Addresses

Required Columns

Important: Subnets must exist before importing addresses. Import your subnets first, then import addresses.

Status Values

IPCraft accepts many common status synonyms and normalizes them automatically:

Your CSV valueMaps to
active, in use, used, static, assignedassigned
reservedreserved
dhcp, dynamicd-dhcp
manual dhcpm-dhcp
gateway, gw, routergateway
free, available, unusedRow skipped (don't import empty addresses)

MAC Address Formats

All common MAC address formats are accepted and automatically normalized:

Column Name Flexibility

IPCraft automatically detects common column name variations. You don't need to rename your CSV headers to match exactly. For example, all of these will be recognized as the IP address column:

If auto-detection gets it wrong, you can manually adjust the column mapping in step 2 of the import wizard.

Tips & Troubleshooting

File Requirements

Plan Limits

Import operations respect your plan's resource limits. If importing would exceed your subnet, address, or folder limit, those rows will show an error. Successfully imported rows are not rolled back — you'll get a partial import with a clear summary of what succeeded and what didn't.

Round-Trip Export/Import

The export format is designed to be directly re-importable. You can export your data, edit it in Excel or Google Sheets, and re-import it. Existing items will be skipped as duplicates, and new items will be created.

Download Templates

Click the "Download template" link in the import dialog to get a ready-made CSV with the correct headers and example data for subnets or addresses.