Create network diagrams with AI
Describe your network to any AI assistant and ask for a topologia.app diagram. The AI does not draw: it writes the list of devices and links, and the editor lays them out, routes the cables and shows interfaces and IPs. You open it with one click, adjust it and export it to PNG, PDF, SVG or Visio.
How it works
- Describe your network. Copy the prompt below into ChatGPT, Claude, Gemini, Copilot or the AI you use, and replace the description with your network: devices, interfaces, IPs, VLANs, sites.
- The AI builds the diagram. It answers with a topologia.app link and the diagram JSON. No coordinates needed: just the list of devices and links.
- Open, adjust and export. When you open the link, the editor loads the diagram already laid out. Move things, fix what you want and export it from Export to PNG, SVG, PDF, CSV or Visio.
Prompt to copy
Paste it in your AI and replace the line in brackets with the description of your network.
Example
This is the JSON an AI would return for an office with a firewall, DMZ and LAN. Open it to see how the editor lays it out.
Open the example in the editor
{
"title": "Oficina con DMZ",
"nodes": [
{"name": "Internet", "type": "internet"},
{"name": "FW-01", "type": "firewall", "sub": "FortiGate 100F", "notes": ["WAN 200.1.1.2/30"]},
{"name": "WEB-01", "type": "server", "sub": "Web server", "zone": "DMZ"},
{"name": "CORE-01", "type": "l3", "sub": "Core", "zone": "LAN", "ha": "Stack"},
{"name": "SW-P1", "type": "switch", "zone": "LAN"},
{"name": "SW-P2", "type": "switch", "zone": "LAN"},
{"name": "AP-01", "type": "ap", "zone": "LAN"},
{"name": "PCs floor 1", "type": "pc", "zone": "LAN"}
],
"links": [
{"a": "Internet", "b": "FW-01", "pb": "wan1", "ip_b": "200.1.1.2/30"},
{"a": "FW-01", "b": "WEB-01", "pa": "port3", "ip_a": "172.16.0.1/24", "pb": "eth0", "ip_b": "172.16.0.10/24", "label": "DMZ"},
{"a": "FW-01", "b": "CORE-01", "pa": "port1", "ip_a": "10.0.0.1/30", "pb": "Te1/0/1", "ip_b": "10.0.0.2/30"},
{"a": "CORE-01", "b": "SW-P1", "pa": "Te1/0/10-11", "pb": "Te1/0/1-2", "label": "Po10", "kind": "port-channel"},
{"a": "CORE-01", "b": "SW-P2", "pa": "Te1/0/12", "pb": "Te1/0/1"},
{"a": "SW-P1", "b": "AP-01", "pa": "Gi1/0/1", "label": "VLAN 30"},
{"a": "SW-P1", "b": "PCs floor 1", "pa": "Gi1/0/2-24", "label": "VLAN 10"}
]
}
Device types
| type | Device | Also accepts |
|---|---|---|
router | Router | rtr, gateway, enrutador |
l3 | Core / layer 3 switch | core, core switch, multilayer, switch capa 3 |
switch | Switch | sw, access switch, l2 |
firewall | Firewall | fw, utm, ngfw, fortigate, asa |
server | Server | srv, servidor, vm |
pc | PCs / users | cli, client, user, users, host, laptop, phone, printer |
ap | Wi-Fi access point | wifi, wi-fi, access point, wlan, wlc |
internet | Internet / WAN cloud | cloud, wan, isp, mpls, nube |
saas | Cloud service | cld, cloud service, aws, azure, gcp |
app | Application | application, aplicacion |
api | Service / API | svc, service, microservice |
db | Database | database, base de datos, sql |
lb | Load balancer | load balancer, balanceador, f5 |
vpn | VPN / tunnel | tunnel, vpn gateway |
storage | Storage | stor, nas, san, backup |
container | Container / Kubernetes | cont, k8s, kubernetes, docker |
generic | Generic device | gen, device, equipo, other |
For developers and AI agents
The spec for language models is at /llms.txt and /llms-full.txt, with the JSON Schema and an example.
Links: https://topologia.app/en/#json= + JSON with encodeURIComponent, #d= + base64url, or #z= + JSON compressed with deflate-raw in base64url. The full format saved by the editor is accepted too.
An agent with a browser can use window.topologia.importar(obj), window.topologia.json() and await window.topologia.enlace().
Frequently asked questions
Which AI can I use?
Any AI that writes JSON: ChatGPT, Claude, Gemini, Copilot, Mistral or local models. If the AI can run code, the link is shorter (#z=).
Is my data sent to a server?
No. The diagram travels in the link after the # sign, and that part is never sent to the server: the browser reads it and loads it in the editor.
Can the AI give me the image directly?
The editor draws in your browser, so the AI gives you the link and you export the image with Export ▸ PNG, SVG, PDF or Visio. An agent that controls a browser can open the link and export it for you.
The link does not open or is cut
Some chats cut very long links. Copy the JSON the AI gave you and paste it in File ▸ Import JSON… in the editor.
Can I ask the AI for changes?
Yes: ask it to add or remove devices and to give you the new link. You can also edit it directly in the editor and save the diagram.