Skip to main content
HandyWeb

Code Screenshot Generator

Paste your code and get a clean PNG image with a window frame, line numbers, and your choice of background, ready for posts and slides.

0 characters0 bytes
Theme
Padding
Font size
Background

How to Use It

  1. Paste the code.
  2. Choose the theme, the color, and the padding.
  3. Download the PNG.

Questions and Answers

Is my code uploaded?

No. The image is drawn with a canvas in your browser.

Good to Know

The highlighting is simple: strings, comments, numbers, and common keywords. The tool does not fully know any language. The font is the monospace font of your device. Up to 300 lines.

Source code of this tool (opens in a new tab)Report a problem on GitHub (opens in a new tab)