.gv Graphviz DOT graph

Documents & office

MIME typetext/vnd.graphviz
DescriptionGraphviz DOT graph
CategoryDocuments & office
Signature (magic bytes)64 69 67 72 61 70 68 20 (digraph )
67 72 61 70 68 20 (graph )
73 74 72 69 63 74 20 64 69 67 72 61 70 68 20 (strict digraph )
Based ontext/plain
Other extensions.dot

Frequently asked questions

What is a .gv file?

A .gv file is a “Graphviz DOT graph” (MIME type text/vnd.graphviz).

How do I open a .gv file?

With an office suite: LibreOffice (free, Windows/macOS/Linux) opens most document formats, as do Microsoft Office or the vendor’s own app.

How can you tell a genuine .gv file?

By the bytes at the start of the file, the signature (magic bytes): 64 69 67 72 61 70 68 20 (digraph ), 67 72 61 70 68 20 (graph ) and 73 74 72 69 63 74 20 64 69 67 72 61 70 68 20 (strict digraph ). On Linux and macOS, file --mime-type example.gv checks the real type regardless of the extension.

Which format is .gv based on?

Technically a .gv file is a subtype of “Plain text document” (text/plain), so programs for that base format can often read it too.

Which MIME type belongs to .gv?

The MIME type is text/vnd.graphviz. In the Apache web server: AddType text/vnd.graphviz .gv; in nginx: types { text/vnd.graphviz gv; }.

Nearby entries