Free tool turns a clicked UI element into a rebuild prompt

Snip2Prompt lets you click one element on a web page and copy a ready-to-use prompt for ChatGPT or Claude to rebuild it. Rebuilding a screen part with a often loses the styling, while copying the DOM can be huge and filled with unnecessary tracking details. The tool creates a cleaner prompt with the selected element’s HTML and only the computed styles that matter.

It can ask the model to rebuild the element in React, Vue, Tailwind, or plain HTML. Its main trick is keeping only the styles that are different from the parent element. That removes much of the clutter and keeps the prompt smaller.

It also shows a rough before pasting. It runs fully in the browser, needs no signup, does no tracking, works now as a bookmarklet, and has a under review.

Key points

  • Click one web page element to create a rebuild prompt.
  • The prompt includes cleaned HTML and useful computed styles.
  • Only styles that differ from the parent element are kept to reduce clutter.
  • It supports React, Vue, Tailwind, and plain HTML outputs.
  • It runs in the browser with no signup or tracking, and is currently available as a bookmarklet.
Read original