Embed Playground
Preview an embed live, tweak size and theme, and copy the finished code.
Free, no sign-upNo uploads, files stay on your deviceSave it to use offline
Pick a tool, choose a width, height and theme, and watch it run in a frame on a page background you choose. When it looks right, copy the iframe code, a version wrapped in a width-limited box, or a plain link. The code is the same code the Embed button on every tool page gives you.
This is the first part of the Playground. It previews our own tools. Pasting your own HTML, CSS and JavaScript is not in it yet.
What It Does#
The Playground builds the embed address for a tool, loads it in a frame so you can see and use it, and writes out the code to paste into your site. You control the preview width, the starting height, the theme, whether the theme and fullscreen buttons show (Standard) or not (Minimal), and the page colour behind the preview.
It only reads and displays. It does not change the tool and does not send anything you do to us.
How To Use It#
- Type in the Tool box. The list narrows as you type; use the arrow keys and Enter, or click. Tools that have no page of their own are not listed.
- Choose a preview width: Phone (375), Tablet (768), Desktop (1024) or Full width, or type your own between 200 and 2000. Swap exchanges width and height.
- Set the starting height between 240 and 1600 pixels. Once the tool reports its real height, the preview follows it, exactly as a pasted embed does.
- Pick a Theme and Standard or Minimal. Minimal removes the theme and fullscreen controls. The Run Local Tools badge stays in both.
- Change the page background to white, grey, dark or your own colour to see how the tool sits on your site. This changes the preview only, never the code.
- Copy the embed code, the wrapper or the link. Reset Playground puts everything back to the defaults.
For the step-by-step version without a preview, see Embed A Tool.
The Three Code Boxes#
- Embed code: the iframe plus a short script that lets the frame grow to fit the tool. It is identical to what the Embed dialog copies, including the 500 pixel default.
- Responsive wrapper: the same code inside a box with a maximum width. A pasted iframe is always as wide as its container, so this is where a fixed width goes. With Full width selected the box has no fixed width.
- Plain link: an ordinary link to the tool page. It is a link, not an embed.
Worked Example: Real Results#
These are the addresses and code the Playground produced for the Number base converter.
| Choice | What the code uses |
|---|---|
| Number base converter, Standard, default theme | /numberbase/?bare=1 |
| Number base converter, Standard, Always dark | /numberbase/?bare=1&theme=dark |
| Number base converter, Minimal, Follow the visitor’s system | /numberbase/?bare=1&controls=0&theme=auto |
| Height typed as 100 | Code uses height:240px |
| Height typed as 1601 | Code uses height:1600px |
| Width 375 (Phone), wrapper | <div style="max-width:375px; margin:0 auto;"> around the same iframe |
Things That Surprise People#
- The default theme is light, even in dark mode. Choosing Light with visitor switching adds no theme setting to the address, and embeds start light. Pick Follow the visitor’s system if you want them to match.
- A fixed preview width is only a simulation. The real code is always full width of its container. Use the wrapper to limit it.
- The preview height can differ from the box you typed. The tool reports its height and the frame follows it, as it would on your site.
- The badge cannot be turned off. Minimal removes controls only.
Privacy#
Your choices (tool, size, theme, mode and colours) are saved in this browser so they are there when you come back, and Reset Playground deletes them. Nothing you choose is sent to us. The tool itself makes no network requests and loads no outside libraries.
The preview is a normal visit to the tool’s page on this site, shown in a frame, so your browser fetches that page from runlocaltools.online as it would for any page. If your browser blocks storage inside frames or on this site, the Playground still works but will not remember your choices.
Limits#
- It previews tools on this site only. Previewing your own page or your own HTML, CSS and JavaScript is not part of this version.
- The preview shows the tool as it is live today. If a tool changes, an embed on your site changes too.
- Tools without a page of their own cannot be embedded this way and are left out of the list.
- Width is limited to 200 to 2000 pixels and height to 240 to 1600 pixels, the same limits as the Embed dialog.
How We Tested This#
On 9 November 2026 we loaded this tool’s own code in a simulated browser page on a Linux cloud server and ran 312 checks. All passed. The simulation does not fetch real tool pages, so the live preview itself was checked by hand on the site.
| What we checked | Checks |
|---|---|
| The iframe code against a copy of the Embed dialog’s own code: 3 tools, Standard and Minimal, 5 theme values, 9 height values | 270 |
| Limits at the edges (239, 240, 1600, 1601, empty, text), address building, the wrapper, links with quotes and brackets in a tool name, tool search (empty, one word, two words, unicode, no match) and cleaning of bad saved settings | 22 |
| Whole page in a simulated browser: theme, Minimal, Phone preset, height limits, swap, tool picker by keyboard, resize message from the frame (and one from elsewhere ignored), copy buttons, restore after reload, reset, empty tool list | 20 |
Frequently asked questions#
Is the embed code the same as the Embed button gives me?
Yes. The iframe and the resize script match the Embed dialog’s code exactly for the same tool, theme, mode and height.
Why is the preview light when my computer is in dark mode?
Embeds start light unless you pick Always dark or Follow the visitor’s system. The preview shows what your visitors will get.
Can I remove the Run Local Tools badge?
No. The badge stays in both Standard and Minimal embeds.
Why is a tool missing from the list?
Only tools that have a page of their own can be embedded this way. You can still type a tool id and press Enter if you know it.
Does it upload anything?
No. Your choices stay in this browser. The preview loads the tool’s page from this site like any visit.
Can I test my own HTML, CSS and JavaScript?
Not yet. This version previews our tools only.
Where to go next#
- Number Base Converter: a small tool that makes a good first embed to try
- Aspect Ratio Calculator: work out a frame size for the width and height you want
More Text & Dev Tools
See all 111 Text & Dev Tools →- Cookie / LocalStorage InspectorDrop in exported browser storage data and get a clean, editable, toggleable list instead of raw devtools JSON.
- Domain ExtractorPull the bare domain out of any URL or block of text.
- Email Header AnalyzerTrace hops, delays and authentication results from raw headers.
- EML File ViewerView and inspect an .eml email file directly in your browser.
- HAR File ViewerWaterfall, timings and request inspector.
- HAR SanitizerStrip cookies, tokens and PII from HAR files before sharing.
- IP Subnet / CIDR CalculatorSubnet mask, host range, and broadcast address from a CIDR block.
- JSON-LD Schema GeneratorArticle, product, FAQ, local business and more.