Instant HTML Preview Bookmarklet
Hey HN, I recently found myself needing a quick way to preview HTML and SVG code without having to copy it into an IDE, save it, and then open it in a browser. ChatGPT's new canvas feature is great for generating code, but it doesn't provide a way to preview HTML directly. To solve this, I made a small bookmarklet that allows you to instantly preview HTML from your clipboard in a new tab. Just copy your HTML, click the bookmarklet, and it will render immediately. It's a simple tool, but it’s saved me a lot of repetitive steps, and I figured it might help others too. The bookmarklet code and…
In plain words
Instant HTML Preview Bookmarklet is a browser tool that renders HTML and SVG code directly from your clipboard in a new tab. Designed for developers who work with generated code from tools like ChatGPT, it eliminates the need to copy code into an IDE, save files, and switch to a browser. Users simply copy their HTML, click the bookmarklet, and see the preview instantly. The tool is particularly useful for quickly testing code snippets without manual file management steps.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
Hey HN, I recently found myself needing a quick way to preview HTML and SVG code without having to copy it into an IDE, save it, and then open it in a browser. ChatGPT's new canvas feature is great for generating code, but it doesn't provide a way to preview HTML directly. To solve this, I made a small bookmarklet that allows you to instantly preview HTML from your clipboard in a new tab. Just copy your HTML, click the bookmarklet, and it will render immediately. It's a simple tool, but it’s saved me a lot of repetitive steps, and I figured it might help others too. The bookmarklet code and instructions for saving it are included in the post. Happy to hear any thoughts or suggestions! Thanks, and I hope it saves you some time.
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, October 2024
the whole month →


Softr for Notion▲925Turn Notion databases into portals & apps with no code
Dev tools · 2024 · softr.io

One inbox for all your work discussions
Work · 2024 · generalcollaboration.com