code → image

Turn code into an image.

Paste a snippet or open a file, choose a theme and a background, and save it as a PNG, JPG or SVG — up to 4× sharp. Free, no sign-up, and your code never leaves the browser.

Open the editor
  • 66 themes
  • Files of any size
  • Up to 4× export
useDebounce.ts
// Wait until the user stops typing
export function useDebounce<T>(value: T, delay = 300) {
  const [settled, setSettled] = useState(value)
  useEffect(() => {
    const id = setTimeout(() => setSettled(value), delay)
    return () => clearTimeout(id)
  }, [value, delay])
  return settled // 'settled'
}
Theme: GitHub Dark

how it works

Three steps, about ten seconds.

  1. 01

    Bring your code

    Paste it, type it, or open a file from your computer. The language is picked up from the file name.

  2. 02

    Make it yours

    Choose a theme, font, window and background. Wrap long lines so the image stays a sensible shape.

  3. 03

    Share it

    Export a PNG, JPG or SVG, or copy the image straight into your post or chat.

big files

Open the whole file. Show only what matters.

A file with thousands of lines opens instantly and scrolls smoothly. Click a line number, shift-click another, and only those lines go into the image.

  • Real line numbers. The image can show 214–226, just like your editor.
  • Highlight lines. Point at the change you want people to notice.
  • Neat wrapping. Long lines fold under their own indent instead of stretching the image.

themes

66 themes. Twelve you won’t find anywhere else.

Every VS Code favourite, from Dracula to Tokyo Night, plus a set of Snippy originals made for screenshots.

customise

Every detail, your call.

Code

  • 10 code fonts and ligatures
  • Size, line height, spacing
  • Tab width
  • Wrap at any width
  • Highlight and fade lines

Window

  • macOS, Windows, plain or none
  • Editable file title
  • Corner radius
  • Soft or deep shadow
  • Thin border

Canvas

  • 16 gradients and mesh blends
  • Any solid colour
  • Transparent
  • Grain texture and padding
  • 16:9, 1:1 and 4:5 sizes

Export

  • PNG, JPG or SVG
  • 1× to 4× sharpness
  • Copy to clipboard
  • Named after your file
  • Remembers your settings

faq

Questions

How do I convert code to an image?

Open the editor, paste your code or open a file, and pick the lines you want. Choose a theme, then press Export. The language is picked up from the file name, and you can change it.

Can I copy the image instead of downloading it?

Yes. Press Copy and paste the image straight into a chat, a doc or a post.

Is my code uploaded anywhere?

No. Highlighting and image export both happen inside your browser. Nothing is sent to a server, so it is safe for private or work code.

Is it really free?

Yes. No sign-up, no limits, and no watermark unless you turn on the small credit yourself.

Ready when your code is.

Open the editor