Sparkline Generator
Draw a tiny inline chart from a number series and copy the SVG markup or a ready data URI.
Draw a sparkline
Points: —
Range: —
Last value: —
How to use the Sparkline Generator
- Paste or type the number series you want to chart.
- Set the size, colour, area fill, point dots and last point marker.
- Copy the SVG markup or the data URI and paste it into your page.
Features
- Tiny inline chart from any number series
- Optional area fill, point dots and last marker
- SVG string and data URI on the clipboard
- Live preview with the point count and range
Advertisement
Frequently Asked Questions
Common questions about the free online sparkline generator.
A sparkline is a very small chart, usually just a line without axes, that sits inside a table
cell or sentence to show a trend at a glance.
Copy the SVG markup and paste it straight into your HTML, or copy the data URI and use it as
the src of an image element.
Any decimal numbers separated by commas, spaces or semicolons. Negative values and decimals
are both supported.
Yes. Use the colour picker and the line, the area fill, the dots and the last point marker
all follow that colour.
It draws a slightly larger dot at the final value so the eye lands on the most recent number
in the series.
Yes. The markup carries a viewBox, so the sparkline stays crisp at any size you scale it to.
Email clients strip SVG, so export the chart as a PNG image instead before adding it to a
message.
No. The geometry is calculated in your browser and nothing you type is uploaded.
Yes, it is completely free with no account, no sign-up and no attribution required on the
charts you make.
Last updated: October 10, 2026