NaaB Tools Fast. Private. Browser-native.
GitHub

Code Screenshot Generator

Turn code snippets into shareable PNG images — window chrome, line numbers, and per-language highlighting, rendered at 2x retina entirely in your browser.

Preview

Frequently Asked Questions

How do I export a snippet?

Paste code, pick a language and theme, click Render Preview, then Download PNG (2x retina) or copy the image.

Which languages are highlighted?

JavaScript, Python, HTML, CSS, JSON, Bash and SQL — anything else renders as plain text.

Can I customize the image?

Yes — Midnight or Paper theme, window chrome, line numbers, and an optional file name (up to 60 chars) shown in the title bar.

What resolution is the PNG?

Retina 2x by default with automatic step-down on huge snippets; oversized renders are refused with a Too large notice instead of crashing the tab.

Are there size limits?

Snippets up to 20,000 characters and 200 lines (2,000 wrapped rows); longer input is truncated with an explicit notice.

Can I export the snippet?

Yes — Download PNG saves a 2x retina image, and Copy Image puts it on your clipboard.

Does my code leave my browser?

Never — rendering and PNG encoding run 100% client-side. Nothing is written to the URL; pasted code stays in the page.

Copied!