TOOL ★
NetworkX
Convert from any graph formatto NetworkX Convert from NetworkXto any other format
NetworkX is a Python library for creating, analysing and visualising graphs and networks.
Graph Formats(Input & Output)
XML FORMAT ★
GraphML
TEXT FORMAT ★
GML
TEXT FORMAT ★
Edge List
XML FORMAT ★
GEXF
TEXT FORMAT ★
Adjacency List
Adjacency List (NetworkX)
JSON FORMAT ★
Cytoscape JSON
Cytoscape.js JSON
TEXT FORMAT ★
Matrix Market
JSON FORMAT ★
NetworkX node-link
NetworkX node-link JSON
TEXT FORMAT ★
Pajek
BINARY FORMAT ★
Graph6
Input Formats
Frequently Asked Questions
What graph file formats does NetworkX support?
See the list on this page — it shows every format NetworkX can read, write and display.
How do I import a graph into NetworkX?
Convert your file to a format NetworkX can read, then open it in NetworkX. Use GraphInOut to get a NetworkX-compatible file in seconds.
How do I convert a file so NetworkX can open it?
Use the convert links above — upload or paste your graph, pick a format NetworkX accepts and download the result, right in your browser.