Open GV files in your browser

A graph written in Graphviz's DOT language, from a build tool, a database, a compiler or a repo. Open one right here as the picture it describes, on any computer or phone. Nothing leaves your device.

Or drop it anywhere on this page

What you'll see

Your diagram opens at its first page, drawn sharp at any zoom, with its pages and shapes beside it.

Build graph.gv

Graphviz • dot layout • 2 clusters

  • Every page • Shapes, lines, labels and pictures
  • Shapes • Search every label and name
  • Inspect • Sizes, colors, fonts and links
  • Export • Pages as SVG, PNG or PDF

About GV

Graphviz draws graphs from text. Programs write their dependencies, call graphs, state machines, database schemas and network maps in DOT, the language Graphviz reads, and save it as .gv or .dot for someone to look at.

A .gv file names nodes and the edges between them, with attributes for their shapes, colors, labels and ranks, and clusters that box nodes together. It says what's connected and how it looks, not where: Graphviz's layout engines, dot for layers, neato and fdp for springs, circo for circles and twopi for rings, place everything when it's drawn.

Filepeek lays it out in your browser with Graphviz itself, built for WebAssembly as Viz.js builds it, with the engine the file asks for. The graph opens sharp at any zoom, Search finds any label, and Export saves it as SVG, PNG or PDF. A .dot whose first statement is a graph opens the same way, while any other .dot is a Word template.

Graphviz graph

Format

MIME type
text/vnd.graphviz
Made by
Graphviz

Inside the file

Holds
Nodes, edges, clusters and labels
Layouts
dot, neato, fdp, circo and twopi
Format
Plain text in the DOT language
Made by
Graphviz, free and open source

Opens in every browser

Filepeek opens .gv files, and .dot files that hold a graph, in Chrome, Edge, Firefox and Safari. On their own, browsers download them or show their text.

  • YouChromeOpens through Filepeek
  • YouEdgeOpens through Filepeek
  • YouFirefoxOpens through Filepeek
  • YouSafariOpens through Filepeek

Apps that open GV

  • WindowsGraphviz, free, from the command line
  • MacGraphviz, free, through Homebrew
  • iPhone and iPadNo app built in draws it
  • AndroidNo app built in draws it

Questions

How do I open a .gv or .dot file?

Drop it on this page or press Peek a GV. It's laid out and drawn in your browser, on any computer or phone, with nothing to install.

Is a .dot file a graph or a Word template?

It can be either. Filepeek reads the start of the file: a graph or a digraph opens as its graph, and a Word template opens as a document.

Which layout does it use?

The one the graph's layout attribute names, or dot, Graphviz's own default, when it names none.

How do I convert DOT to PNG, SVG or PDF?

Open it, choose Export, then Save the page as SVG, Save as PDF, or save it as PNG or JPEG at 1x, 2x or 3x.

Can I edit it?

It's plain text, so any editor changes it.

More document formats

All supported file types

Opens in a new tab

EXIF

Verify

License

Signature