Turn code into a sharp image
Type or paste code right in the window, pick a theme and background, then export a PNG or SVG.
Type or paste code right in the window, pick a theme and background, then export a PNG or SVG.
Click inside the window and paste. The language is detected automatically, or pick one from the list.
Choose a theme, background, font and padding. Click the file name in the title bar to rename it.
Download a PNG at 2x or 4x for crisp slides, an SVG for print, or copy the image straight to your clipboard. Copy link saves your code and settings in the address so you can come back to it.
No. Highlighting and image export run in your browser. A copied link keeps the code inside the link itself, so only people you share it with can see it.
JavaScript, TypeScript, Python, Go, Rust, Java, Kotlin, C, C++, C#, PHP, Ruby, Swift, SQL, Bash, JSON, YAML, HTML, CSS, Markdown and more.
Set the export scale to 4x. For print or very large screens use SVG, which stays sharp at any size.
Some browsers only allow copying images on secure pages and after a click. If it fails, download the PNG instead.