Migration guide

Google Image Charts replacement for chart.googleapis.com/chart

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 and returns a PNG. The migration is mostly a host swap — with one honest caveat: not every Google parameter and chart type is implemented, so check the URL first instead of changing a production embed blind.

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 with a small watermark.

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.

Parameter reference

What does not carry over

We would rather say this on the migration page than let you find it in production:

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, watermarked. An API key removes the watermark and raises the limits — $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.