Turn code into a beautiful image

Paste a snippet and get a crisp, highlighted code window on a lovely background. Free, private and instant: your code stays in your browser.

Language is detected for you · 8 themes · export PNG, MP4 or GIF
No sign-up No watermark Stays on your device
A TypeScript snippet in a dark code window with coloured syntax on a purple gradient

Three steps, about ten seconds

  1. Paste your code

    Drop in any snippet. The language is detected for you, or pick one of 26.

  2. Pick a theme

    Eight themes, each paired with a background. Add a file name, line numbers or highlighted lines.

  3. Export

    Copy or download PNG, JPEG or WebP up to 4×, or add motion and export MP4 or GIF.

Made with this tool

Open the code editor
Sherbet style example
SherbetPython
Blueberry style example
BlueberryRust
Cotton Candy style example
Cotton CandyCSS

Questions

Is this code screenshot tool free?

Yes. Shotcandy is free and open source, with no watermark and no sign-up. Export as PNG, JPEG or WebP up to 4×, or as MP4 and GIF.

Is my code uploaded anywhere?

No. Highlighting and rendering happen in your browser. Your code never leaves your device.

Which languages are supported?

TypeScript, TSX, JavaScript, JSX, Python, Rust, Go, Java, Kotlin, Swift, C, C++, C#, PHP, Ruby, HTML, CSS, JSON, YAML, TOML, Markdown, SQL, Shell, Dockerfile, GraphQL and diffs. Auto-detect picks one for you.

Can I highlight lines or hide the window buttons?

Yes. Type the lines to highlight (like 2, 5-7), toggle line numbers, and choose coloured window dots, a quiet title bar or no chrome at all.

Your next screenshot deserves better

Open the editor in Code mode and paste your first snippet.

Open the editor