Migration guide
Migrating from Google Image Charts
Google's Image Charts API was deprecated in April 2012 and turned off on 14 March 2019. We re-checked chart.googleapis.com/chart on 2026-11-17 (UTC): it answers HTTP 404. Any page still pointing at it shows a broken image.
UrlChart accepts the same legacy URL parameters — cht, chd, chs, chxt and the rest — and returns a PNG from the same /chart path, so the migration is a host swap: keep the parameters, change the host. The worked example below shows the before and after URL. What is not identical is documented parameter by parameter in the parameter reference, and any URL can be verified before a production embed is changed in the Drop-in Tester.
The swap
Old embed:
https://chart.googleapis.com/chart?cht=bvg&chs=400x200&chd=t:10,40,80&chxt=y
New embed:
https://urlchart.com/chart?cht=bvg&chs=400x200&chd=t:10,40,80&chxt=y
Nothing else changes: the parameter names, data encodings (t:, s:, e:) and chart types are the legacy ones. Add &key=… for the paid tier; without a key the same URL works on the free tier (1000 px per side / 1 MP canvas).
Check before you swap
Paste the old URL into the tester. It returns three things: the original image (loaded by your browser), our render of the same parameters, and a per-parameter report — supported, degraded, ignored, unsupported — so you know exactly which line of the embed needs attention.
What does not carry over
We would rather say this on the migration page than let you find it in production:
- Not rendered as the original visual: GraphViz, formulas, geographic maps, Venn diagrams, funnels and meters. They render as an approximate bar chart or a text card, and the tester marks them degraded.
- Now carried over: QR codes (
cht=qr, withchl/chld/choe) are real QR codes, and scatter (cht=s) keeps Google's semantics — first series is x, each further series is a y point set. - Accepted and ignored:
chananimated GIFs,chldmap labels (outsidecht=qr),chppie rotation,chtymap type,chlimap marker size,chtm,chxtctick lengths, and annotation markers other than labels, point markers and area fills. - Approximated:
p33D pies are flat;rssmoothed radar uses a line tension rather than the exact Google curve. - Per-parameter differences (for example an axis range that excludes the data) are reported as degraded and the chart autoscales instead of rendering blank.
See the parameter reference for the full table and the tester for a specific URL.
Sign up, or do not
An anonymous URL works immediately: 60 requests/minute, 1,000 unique renders/month and a canvas of at most 1000 px per side / 1 MP (larger charts are scaled down with a note, never failed). An API key raises the limits and the canvas to 3000 px per side / 9 MP — $29/month, unlimited subject to Fair Use.
Already have endpoints returning charts? Compare with Image-Charts or with QuickChart before you pick a replacement. The tester handles their URL formats too.
Questions
Do I need to change the chart parameters themselves?
No. Keep cht, chd, chxt and the rest. Change the host to urlchart.com and keep /chart. The tester flags any parameter in your URL that behaves differently.
Is this an official Google replacement?
No. UrlChart is an independent service, not affiliated with or endorsed by Google. We implement the publicly documented legacy parameter syntax and publish our compatibility decisions.
What happens to URLs that we cannot fully render?
They still return a PNG: unknown parameters are ignored, invalid values fall back to defaults, and unsupported chart types become an approximate bar chart or a text card. Every difference is listed in the compatibility report and in the X-UrlChart-Meta response header. The only non-image answer is 400 JSON when the chd payload cannot be decoded at all.