Add the converter to your recipe
Readers can convert grams, cups and spoons without leaving your recipe: paste one iframe and the widget runs on Cups & Scales, with figures from USDA FoodData Central for 42 ingredients. It is free and needs no script, account or key.
Preview
This is the widget as your readers will see it, at the height in the snippet.
About the credit link
Under the widget the snippet puts one plain line, "Converter by Cups & Scales", linked to our home page. It is there so readers know where the numbers come from. The link carries rel="nofollow", so it passes no search ranking, and you are free to change it or take it out; the widget works the same either way. We never add hidden or keyword links, and the widget itself shows a small credit line too.
What the widget does
- The live converter takes amounts like 250, 1 1/2 or ½, any of the 42 ingredients, and US, metric, UK or US legal cups. Every link inside it opens in a new tab, so your page stays put.
- The chart shows one ingredient in one direction, for example cups of all-purpose flour to grams, with cup and spoon measures. The "Embed this chart" link on each chart page brings you here with that chart picked.
- It works in light or dark, follows the reader's setting by default, and loads nothing from other sites.
Addresses that will not change
Once a snippet is on your site we keep its address working. These paths and settings are fixed:
https://cupsandscales.com/embed/converter/withingredient,from,to,theme(light or dark) andsize(compact)https://cupsandscales.com/embed/chart/<ingredient>/withpair(for examplecups-to-grams) andtheme
A setting we do not recognise falls back to the default instead of breaking the widget.