Code Screenshot

Paste code and get a sharp, highlighted image with a window frame and colourful background, ready for posts, slides and docs. Download a PNG or copy it to the clipboard.

🔒 Runs entirely on your device. Nothing you paste or pick is uploaded.

How to make a code screenshot

Paste your code, pick a theme and a window title, and download a sharp PNG (drawn at twice the size, so it stays crisp on retina screens and in slides). Copy image puts it straight on your clipboard, ready to paste into a post, a chat or a presentation.

Which languages are highlighted?

JavaScript and TypeScript, Python, SQL, HTML, CSS, shell scripts, Rust, Go, and Java-style languages (Java, C#, Kotlin). Leave it on Detect automatically and it guesses from what you paste.

Tips for readable code images

  • Keep it short: 5–20 lines reads well on a phone.
  • Use a size of 18 px or more for social posts.
  • Remove secrets (keys, passwords, tokens) before sharing a screenshot.

Is my code uploaded?

No. The image is drawn by your browser, so your code never leaves your device.

More free tools