Free Grams to Cups Converter Widget
Add a working grams to cups converter to your recipe blog, food site or class page. Readers pick an ingredient and convert between grams, cups, tablespoons, teaspoons and ounces without leaving your page.
Live preview
Embed code
Copy this code and paste it into your page (in WordPress, use a Custom HTML block):
What the widget does
- Converts grams, cups, tablespoons, teaspoons and ounces in any direction
- Uses a separate density for each of 48 ingredients, so 100 g of flour and 100 g of sugar give different cup amounts
- Based on the US cup (236.6 ml), the cup most online recipes use
- No ads, no cookies, no tracking
Prefer a printable version? Use our free kitchen conversion chart.
Questions
Is the converter widget free?
Yes. It is free for any website, blog or school page. Just keep the small GramsInCup credit link.
How do I add it to WordPress?
Add a Custom HTML block where you want the converter, paste the embed code and update the post.
Which ingredients does it support?
48 common baking and cooking ingredients, including flour, sugar, butter, milk, honey, oats and rice, each with its own grams-per-cup value.
Will it slow down my page?
No. The widget is a single small page with no ads, trackers or outside scripts, and it loads lazily.