Graphviz download and guide — Convert DOT files to SVG

Last content update 2026-11-08
QUICK ANSWER
Choose the EXE or ZIP for your PC under Stable Windows packages on the official download page. After installation, open a new terminal and check command recognition with dot -V. Save UTF-8 text as first-graph.dot, then run dot -Tsvg first-graph.dot -o first-graph.svg from the same folder to request SVG output. Keep the DOT relationship source separately from the SVG you inspect and share.
Graphviz
Software
Stable distribution checked Windows 16.1.0 · November 8, 2026
Windows packages Distinguish 32/64-bit EXE and ZIP
Other operating systems Linux packages · Mac package managers and other options
Terms Open source · EPL 2.0
Basic command dot · Automatic layout of directed graphs
Source and result DOT text · SVG image
Official Graphviz download ↗

Choose an official stable Windows package

Use the homepage button to open the official download page and find Windows → Stable Windows install packages. On November 8, 2026, the first stable distribution in that list is 16.1.0. Distinguish it from Development entries and source-code archives.

PackageWhen to choose it
64-bit EXE installerOrdinary installation on 64-bit Windows
32-bit EXE installerWhen you need an installer for a 32-bit environment
ZIP archiveWhen you will extract and manage the program and library folders yourself

This guide covers a first DOT task on Windows. On Linux or a Mac, follow the appropriate OS route on the same official page. Mac package managers and Linux distribution packages use different installation methods from a Windows EXE.

Check the dot command after installation

If the Windows installer offers PATH options, check Add Graphviz to the system PATH for current user. PATH tells the system where to find executables by name from any folder. Do not assume that extracting a ZIP automatically registers Graphviz’s bin folder.

After installation, open a new terminal and enter the following command. Do not prepend an example prompt such as $ or >.

dot -V

Version information means that the current terminal found dot. Uppercase -V checks the version and differs from lowercase -v. This is not yet the result of rendering your graph.

If the command is not found, check for dot.exe in the actual installation’s bin folder and inspect its PATH registration. With multiple versions installed, check that you are invoking the expected one. Start with the official package and installation location; do not download DLLs or replacement executables from arbitrary sites.

Write relationships in a DOT source file

Enter this three-stage relationship example in a text editor. Use plain text rather than a word processor’s formatted text.

digraph FirstGraph {
  draft [label="Draft"];
  check [label="Review"];
  done [label="Done"];
  draft -> check;
  check -> done;
}

draft, check and done are node identifiers; label supplies the visible text. digraph means a directed graph, and -> connects the first node to the second. This example requests two arrows, Draft → Review → Done, matching the Korean source’s stages. It does not guarantee identical positions or fonts on every PC.

Save the file as first-graph.dot in a working folder using UTF-8. In Windows Explorer, check the actual extension so that it is not first-graph.dot.txt. Keep the ordinary double quotes " in the code rather than smart quotes such as “ ”.

Generate an SVG in the same folder

Set the terminal’s current working folder to the folder containing your DOT file. Run this command there.

dot -Tsvg first-graph.dot -o first-graph.svg

-Tsvg selects SVG output; the name after -o is the result file. Keep input and output names distinct. If an SVG with that name already exists, preserve a copy first. Enclose each input or output path in double quotes if it contains spaces.

FileWhat to keep
first-graph.dotCode for editing nodes, arrows and visible labels
first-graph.svgAn image to inspect in a browser or document and share

No terminal output is not sufficient proof of success. Check that the SVG exists in the specified folder and inspect any error messages. For an input-file error, compare the current folder, filename and actual extension. For a syntax error, first check braces, quotes and ->.

Open the SVG and check connections and text

Open the resulting SVG in a browser or another supported program. Confirm three nodes and two connections, Draft → Review → Done, including the arrow directions and labels. Zoom in to inspect clipping and overlapping text too.

If Korean labels are garbled, distinguish UTF-8 source encoding from availability of a suitable Korean font. If needed, use fontname to select a font installed on that PC. Fonts in the recipient’s SVG-viewing environment can also affect display, so reopen it in the actual submission environment.

To change relationships, edit the DOT and regenerate the image. An SVG editor such as Inkscape can edit the result separately, but those changes do not automatically synchronize with the DOT. If dragging shapes directly is a better fit, see draw.io’s flowchart workflow.

Official sources

Frequently asked questions

Is Graphviz free?
The official project is distributed as open source under Eclipse Public License 2.0. Distinguish the executables linked by the official download page from source code. Fees for another service's editor or integration are separate from Graphviz itself.
Why is the dot command not found?
First check that you opened a new terminal after installation. Look for dot.exe in Graphviz's bin folder and check that the folder is included in PATH, the executable search path. Installing only a Python package does not necessarily install the Graphviz executable.
Why does a DOT file show code instead of a picture?
DOT is the text source that describes nodes and connections. Use dot with an output format such as SVG to produce a separate image. Renaming the extension to svg does not convert the file.
How do I write arrows in a digraph?
Use -> between nodes in a directed digraph. This differs from -- in an undirected graph. If you rename a node, update the identifier in the edge statements too. To change only its visible text, use the label attribute.
Why do Korean characters appear as boxes or look different on another PC?
Check that the DOT file is UTF-8 and that a font with the required Korean glyphs is available. The fonts on the computer viewing the SVG can affect it too. Check text and line breaks in the recipient's environment, rather than checking only that a file was created.
Can I change the relationships later if I keep only the SVG?
Keep the DOT source to change relationships and recalculate layout. A vector editor can modify an SVG, but it is not the original DOT relationship code. Regenerating after a code change can overwrite separate SVG edits, so distinguish the files.