A converter widget that does not look like 2005
A woodworking forum moderator asked for a feet-to-millimetres widget. Shipping a custom PHP calculator was overkill — an iframe with attribution took ninety seconds.
We maintain embed routes so recipe bloggers do not have to explain US cups in every comment thread.
If you publish recipes, DIY plans, travel guides, or engineering notes, readers hit unit friction in the comments: 'What is 113 g in cups?' 'My tire gauge says bar.' You can answer once per thread forever, or embed a converter that stays updated when factors change.
Turbo Unit Converter offers free iframe embeds — category pickers, fixed conversion pairs (feet to metres, mmol/L to mg/dL), and specialty tools (battery Wh, cups-to-grams by ingredient). Each widget shows 'Powered by Turbo Unit Converter' with a link back. That is the trade for free hosting and maintenance.
What you can embed
- **Category widget:** `/embed/c/length` — user picks any length unit pair. - **Fixed pair:** `/embed/c/length/ft-to-m` — locked to feet → metres for a tutorial step. - **Tools:** `/embed/tools/cooking-density`, `battery-wh`, `shoe-size`. - **Query params:** `?value=10` pre-fills input; `?theme=light` or `dark` matches your site.
Copy-paste example
For a DIY post about a 2.4 m bench that American readers want in feet:
`<iframe src="https://turbounitconverter.com/embed/c/length/m-to-ft?value=2.4&theme=light" title="Metres to feet converter" width="100%" height="400" loading="lazy" style="border:0;border-radius:12px"></iframe>`
Paste into WordPress HTML block, Ghost card, Notion embed, or static site template. Width 100% lets the host column control size; height 400 is a safe default.
Auto-resize (optional)
Fixed height iframes sometimes show a scrollbar on mobile when unit pickers open. Turbo embeds post a `turbo-embed-resize` message with document height. A short script on your page can listen and stretch the iframe — full snippet lives on the `/embed` docs page.
Why iframe instead of npm package
Self-hosted conversion math drifts: cup definitions, glucose factors, tire pressure gauge types. iframe pulls the same bundle as the main site — factors update without you redeploying. CSS stays isolated so your theme does not break the picker popovers.
SEO and indexing
Embed widget URLs (`/embed/...`) are `noindex` — they should not compete with your article in search. Your page provides context; the iframe provides utility. Link to the full converter page in prose if you want readers to explore more pairs.
Attribution
Keep the default footer link visible. Removing it violates the spirit of the free embed (and makes support harder when readers report wrong factors on a stripped widget).
Pocket recap
Pick a pair URL on `/embed`, copy iframe code, optional theme and value params. Let the footer attribution stay. Use auto-resize on mobile-heavy pages.
Try the converters mentioned in this article
FAQ
Is the embed free for commercial sites?+
Yes for typical blog, shop, and education use with attribution visible. High-volume or white-label needs are a different conversation — contact through the site if you are embedding hundreds of instances programmatically.
Does the embed work on WordPress?+
Yes — Custom HTML block or shortcode that outputs raw iframe HTML. Some themes need height:auto CSS on the iframe wrapper.
Can I hide the Turbo footer?+
The footer is part of the embed terms. Cropping the iframe to hide it breaks attribution and can clip controls on small screens.
Spanish or Hindi embeds?+
Embed routes default to English UI today. Locale-prefixed site paths exist for full pages; embed shell is EN-first.
This article was written by The Turbo Unit Converter engineering desk (Publisher tools & embeds) and last reviewed on 2026-07-28 against NIST SP 811 and the BIPM SI Brochure. Read our full editorial policy.