All tools

Screenshot to code

Turns a UI screenshot into HTML and CSS

Loading the tool…

About Screenshot to code

Screenshot to code is a free AI tool from Cometab AI. Turns a UI screenshot into HTML and CSS. It runs 100% in your web browser using Phi-3.5-vision (MIT) via WebLLM on WebGPU, so your data stays on your device: no account, no upload, no usage limits.

How to use it

  1. Paste your code or describe what you need.
  2. The first time, the AI model downloads to your browser (a model of 1 GB or more). It is cached for next time.
  3. Get the result in seconds and download or copy it.

Questions

Is Screenshot to code free?

Yes. Screenshot to code on Cometab AI is completely free, with no sign-up, no credits and no watermark. It runs on your own device, so there are no server costs to pass on.

Are my files uploaded anywhere?

No. Screenshot to code runs entirely in your browser. The AI model is downloaded to your device and your files and text never leave it.

Which AI model does Screenshot to code use?

Phi-3.5-vision (MIT) via WebLLM on WebGPU. It runs locally through open-source web AI libraries such as Transformers.js, WebLLM, MediaPipe or ONNX Runtime Web.

What device do I need?

Needs a laptop with a good graphics chip and a WebGPU browser (latest Chrome or Edge). The first use downloads a model of 1 GB or more once; after that it is cached and starts quickly, even offline.

More developer tools