How to make a code screenshot
- Paste your code above.
- Pick the language and a color theme.
- Choose a frame, background and canvas size.
- Download the image or copy it to your clipboard.
Highlighted like your editor
24 languages and 12 color themes, including GitHub, One Dark Pro, Dracula, Tokyo Night and Catppuccin, with optional line numbers.
Frames and backgrounds
Put the code in a macOS, Windows or browser window, on a gradient, a solid color or your own image, with a shadow and rounded corners.
Sized for where you post
Pick a canvas for X, LinkedIn, Instagram, a blog header or a slide, and the code is scaled to fit.
Sharp exports
Code is drawn at twice the normal resolution. Download PNG, JPG, WEBP or SVG, or copy the image to paste anywhere.
Questions
Is it free?
Yes. Code screenshots and 1x exports are free, with no watermark and no sign-up.
Is my code uploaded?
No. The code is highlighted and drawn in your browser and never leaves your device.
Can I add a title or notes?
Yes. Use the Text tab for a headline and the Annotate tab for arrows, boxes and highlights.
Can I save my look?
Yes. Save the background, frame and shadow as a preset and use it on your next screenshot.