About JFreeSVG

JFreeSVG is a fast, light-weight, vector graphics library for the Java(tm) platform that makes it easy to generate graphical output in SVG format directly from Java code (via SVGGraphics2D). It has been developed for use with JFreeChart and Orson Charts - see, for example, the enhanced SVG export feature that we developed for a client that uses Orson Charts. You can also use it with your own projects that use Java2D to generate content.

How fast? See our comparison against Apache Batik. How light-weight? The jar file is less than 50Kb. How can you get it? You can download it right now for free!

JFreeSVG is free software under the terms of the GNU Affero General Public Licence (AGPL) version 3 or later. For those that do not wish to be bound by the terms of the AGPL, an alternative licence is available to purchase.

Latest News

6 May 2014

JFreeSVG 1.9 is now available to download! This release includes improved support for linear gradients, new configuration and rendering hint options, and fixes for zero-width strokes and image rendering.

11 April 2014

JFreeSVG 1.8 is now available to download! This release adds more rendering hint control, improved Stroke handling and an important bug fix regarding character encoding.

25 February 2014

JFreeSVG 1.7 is now available to download! This release adds rendering hints to control grouping, fixes transparent color handling, adds element ids for the drawString() method and a minor fix for the meta tag in HTML output.

18 December 2013

JFreeSVG 1.6 is now available to download! This release adds rendering hints to control element ids and the href attribute for referenced images. Bug fixes include a fix for special characters in the drawString() method and invalid formatting of coordinates in certain locales.


API documentation is included in the download and can be regenerated using 'ant javadoc' (requires Ant to be installed). It can also be viewed online. Note that our Javadocs allow you to click all the way through to the source code!


The JFreeSVG discussion forum is the place to ask questions, request new features, report bugs and make any comments about the JFreeSVG library.



JFreeSVG requires JDK/JRE 1.6.0 or later. There are NO other dependencies.