Dia – GTK+ based diagram creation software

Dia is an open source GTK+ based diagram creation tool.

More specifically, Dia is a tool for making diagrams and schematic illustrations for articles, books, documentation, modelling and other uses, inspired by Visio, but with a simple and intuitive interface.

Dia is designed to be much like the commercial Windows program ‘Visio’. It can be used to draw many different kinds of diagrams. It currently has special objects to help draw entity relationship diagrams, UML diagrams of various types, flowcharts, network diagrams, and simple circuits. It is also possible to add support for new shapes by writing simple XML files, using a subset of SVG to draw the shape.

It can be scripted using the Python programming language.

Dia can be used from the command line.

Features include:

  • Import and export of Visio VDX files.
  • Special objects to help draw entity relationship diagrams, UML diagrams, flowcharts, network diagrams, and many other diagrams.
  • Loads and saves diagrams to a custom XML format (gzipped by default, to save space).
  • Exports diagrams to a number of formats:
    • Computer Graphics Metafile (.cgm).
    • Dia Native Diagram (.dia).
    • Dia Shape File (.shape).
    • AutoCad Drawing eXchange Format (.dxf).
    • HP Graphics Language (.plt, .hpgl).
    • Encapsulated Postscript (.eps, .epsi).
    • Portable Network Graphics (.png).
    • Scalable Vector Graphics (.svg).
    • Scalable Vector Graphics gzip compressed (.svgz).
    • TeX Metapost macros (.mp).
    • TeX PSTricks macros (.tex).
    • WordPerfect Graphics (.wpg).
    • XFig format (.fig).
    • XSLT (eXtensible Stylesheet Language Transformation) (.code).
  • Prints diagrams (including ones that span multiple pages).
  • Cross-platform support – Linux, MacOS X and Windows are supported. There are also third-party binaries available for Solaris, and Irix.

Website: wiki.gnome.org/Apps/Dia
Support: Documentation, FAQ
Developer: Dia Developers
License: GNU GPL v2


Dia is written in C. Learn C with our recommended free books and free tutorials.

Return to Graphics Home Page | Return to Unified Modeling Language Tools Home Page

Ongoing series
Linux for StartersNew to Linux? Read our Linux for Starters series.
Free and Open Source SoftwareThe largest compilation of the best free and open source software in the universe. Supplied with our legendary ratings charts.
Linux ReviewsHundreds of in-depth reviews offering our unbiased and expert opinion on software.
Alternatives to GoogleAlternatives to Google's Products and Services examines your options to migrate from the Google ecosystem with open source Linux alternatives.
MicrosoftAlternatives to Microsoft's Products and Services recommends open source Linux software.
Linux System ToolsEssential Linux system tools looks at small, indispensable utilities, useful for system administrators as well as regular users.
Linux ProductivityLinux utilities to maximise your productivity. Small, indispensable tools, useful for anyone running a Linux machine.
Home Computer EmulatorsHome computers became commonplace in the 1980s. Emulate home computers including the Commodore 64, Amiga, Atari ST, ZX81, Amstrad CPC, and ZX Spectrum.
Now and ThenNow and Then examines how promising open source software fared over the years.
Linux at HomeLinux at Home looks at a range of home activities where Linux can play its part, making the most of our time at home, keeping active and engaged.
Linux CandyLinux Candy opens up to the lighter side of Linux. Have some fun!
Best Free Android AppsBest Free Android Apps. There's a strict eligibility criteria for inclusion in this series
Programming BooksThese best free books accelerate your learning of every programming language
Programming TutorialsThese free tutorials offer the perfect tonic to the free programming books series
Stars and StripesStars and Stripes is an occasional series looking at the impact of Linux in the USA
Share this article


  1. Dia is indeed good and I have seen so many users recommended it. Do you know whether the tool can export /import vsdx or vsd files? I’m using Visio 2016 pro sometimes so I may need to export vsdx files to other diagramming tools.

    So far, the one I found recently that can export vsdx and vsd files is Edraw Max 9.4, but it is not free if you need to edit your files (only open and view are totally free).

    1. Why don’t you try Dia and report back if it can export / import the file types you want?

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.