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 General Public Licence (GPL) version 3 or later. For those that do not wish to be bound by the terms of the GPL, an alternative licence is available to purchase.

Latest News

30 April 2016

JFreeSVG 3.1 is released! This release includes improvements for gradients, ellipse drawing and font measurements..

8 June 2015

JFreeSVG 3.0 is released! This release includes improve line style support, ZIP output, new demos and some important bug fixes.

4 August 2014

JFreeSVG 2.1 is released to fix some minor packaging issues in the 2.0 release.

30 July 2014

JFreeSVG 2.0 is now available to download! This release includes improved rendering hint support, better glyph positioning for TextLayout, improved alpha transparency and fixes required for rendering Swing components to SVG.

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.


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.

Repository at GitHub

The JFreeSVG repo is hosted at GitHub: https://github.com/jfree/jfreesvg



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