VS Code

Frameshot


Turns the code you select into a sharp image: live studio, line focus, diff colors, several selections in one shot, PNG at 1x, 2x or 3x and SVG with real text. 15 free exports, then Pro is $9 once.

15 free exports, then Pro is $9, once, on Payhip.

Frameshot studio: a gradient frame around code with lines 6 to 11 focused and the rest dimmed

Frameshot is a code screenshot studio inside VS Code. Select code, press Ctrl+Alt+S (Cmd+Alt+S on a Mac), and the image is on your clipboard. Open the studio to style it with a live preview: window chrome, gradients, your editor theme and font, line numbers, line focus, diff colors, and several selections joined in one image. Export PNG at 1x, 2x or 3x, or SVG with real, selectable text. The first 15 exports are free, then Pro is $9 once on Payhip. No login and no telemetry. Your code stays on your computer.

What you get

  • 15 free exports. Only an export uses one: a PNG save, an SVG save or a copy of the image. Previewing, styling and changing themes never do. A cancelled save dialog or a failed export uses none. The studio and the status bar show how many are left.
  • Line focus: click lines in the preview or type 3, 5-7, and the rest dims. Diff colors for added and removed lines. Several selections join into one image with a separator.
  • Indentation survives: common indentation is removed, tabs are expanded, and soft wrap keeps the indent. Your editor font, size and ligature setting are used with safe fallbacks.
  • PNG at 1x, 2x or 3x, and SVG with real text, not a picture of text. 500-line snippets, emoji, percent signs, dollar signs, backticks and script tags render as written.
  • Copy goes to the system clipboard as an image. If your system will not take an image there, Frameshot saves the PNG and shows you where it is, and says so.
  • Pro is $9, once, on Payhip: unlimited exports, saved style presets and a footer badge. Install the Pro add-on from your receipt, or enter your Payhip license key.
  • The studio works offline with a strict content security policy. The only network request is an optional license check when you enter a key, and automatically about every 30 days while a key is stored. Your code is never sent.

Known limits

Syntax colors come from bundled grammars for about 35 common languages; other files render as plain text in your theme colors. Your theme's colors are approximated, so exotic token colors can differ slightly from the editor. Captures are capped at 5,000 lines, and very tall PNGs are scaled down to fit what your system can draw. On Linux, copying an image needs wl-clipboard or xclip.