Search tools

Search for a command to run...

Code to Image (Beautiful Code Screenshots)

Turn code snippets into beautiful images for Twitter, LinkedIn, slides and docs — syntax highlighting, themes, window chrome and gradient backgrounds. Download PNG or copy to clipboard.

How to use

  1. 1Paste your code and pick the language.
  2. 2Choose a theme, background and title.
  3. 3Download a 2× PNG or copy the image to your clipboard.

Frequently asked questions

Which languages are highlighted?

JavaScript/TypeScript, Python, HTML/XML, CSS, JSON, SQL, Bash, Go, Java/C#/C++ and Rust.

Is my code uploaded?

No — the image is drawn in your browser.

What size is the image?

Exported at 2× for sharp results on high-resolution screens and social media.