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

10 February 2019

JFreeSVG 3.4 is released! The release adds an automatic module name and fixes several bugs.

7 November 2017

JFreeSVG 3.3 is released! This is a minor bug fix release.

9 October 2016

JFreeSVG 3.2 is released! This release adds the ability to specify units for width and height, a viewBox attribute and fixes bugs based on user feedback.

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.


API documentation is available to download. 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.