Paste a snippet, pick the language and a theme, and the image renders as you type. You can change the background gradient, padding, font size and window title, and turn the window controls and line numbers on or off. Download PNG saves the image at 2x resolution, so it stays sharp on high-density screens and in slides. Copy image puts the PNG on the clipboard in browsers that support ClipboardItem (current Chrome, Edge and Safari; Firefox may need Download instead).
The highlighter is deliberately small. It knows keywords, strings, comments, numbers and function calls for JavaScript, TypeScript, Python, Java, Go, SQL, JSON, Bash and CSS, plus tags and attributes for HTML/XML. It does not parse the code, so unusual syntax may come out in the plain text color, which is usually fine for a screenshot.
Tabs become four spaces. Long lines either wrap at the column you choose or widen the image. The image is drawn on a <canvas> with your system’s monospace font, and nothing leaves your browser.