How to Embed ToolkitApp Tools on Your Website
ToolkitApp tools are static, client-side web apps, so you can drop any of them into a page with one iframe and no build step. This guide shows the snippet, the URL parameters worth knowing, how to make the widget fit your layout, and how to list every available tool from a machine-readable JSON index.
Why Embed a ToolkitApp Tool?
An embedded tool runs entirely in the visitor's browser: inputs never leave the machine, and the embed layout skips the site header, sidebar, ads, and the consent banner. The only analytics requests are anonymous, cookieless usage events (page view, first tool use, and exit timing). You get a working JSON formatter, UUID generator, or QR code generator without writing or maintaining the logic yourself. The only visible branding is a small "Powered by ToolkitApp.net" link at the bottom of the widget.
The One-Line Iframe Snippet
Every embed uses the /embed/<tool-id> route. Replace <tool-id> with the slug of the tool you want and paste the iframe where raw HTML is allowed. Always keep title, which is the accessible name of the frame, and loading="lazy" so the widget does not delay the rest of the page.
<iframe src="https://toolkitapp.net/embed/json-formatter?lang=en&theme=auto&transparent=1" title="JSON Formatter" style="border: 0; width: 100%; height: 520px; max-width: 100%;" loading="lazy" allow="clipboard-write; serial" referrerpolicy="no-referrer"></iframe>What Do the URL Parameters Change?
lang accepts en, pt, or es and controls the tool UI independently of the page around it. theme accepts light, dark, or auto, and auto follows the visitor's operating system preference. transparent=1 makes the embed background transparent so your own page color shows around the tool card. scrollable=1 allows the widget content to scroll inside a fixed height instead of being clipped. Combine them with &, for example ?lang=pt&theme=dark&transparent=1.
How Do I Make the Widget Fit My Layout?
Treat the height as a fixed budget: pick a value between 300 and 1200 pixels and let the width be fluid (width: 100% with max-width: 100%). If a tool has more content than fits, either raise the height or add scrollable=1 so the user can scroll inside the frame. theme=auto is the easiest way to respect a site with light and dark modes, and transparent=1 removes the page background around the card. If your site sends a Content Security Policy, allow the frame source with frame-src https://toolkitapp.net.
How Do I List Every Available Tool?
The public index at https://toolkitapp.net/tools.json lists every tool with its id, category, and localized title, description, tags, and URL. Fetch it from your build script or from the browser to build a directory, validate a slug, or render a "try it here" widget. The endpoint is static and CORS-enabled, so it can be called from any origin. A minimal example:
const response = await fetch('https://toolkitapp.net/tools.json');
const index = await response.json();
console.log(index.tools.map((tool) => tool.id));Troubleshooting Embedded Tools
If the widget looks cut off, increase the height or enable scrollable=1. If the language or theme does not change, confirm the values are lowercase and that the parameter is separated by & rather than a second ?. If nothing renders, check whether your CMS strips iframes (GitHub READMEs, for example, do), whether a strict Content Security Policy blocks frame-src, and whether the page is served over HTTPS. Web Serial tools such as the Web Serial Console also need the serial permission in the allow attribute.