How to make a code screenshot
- The page opens on a code card. Select it and paste your code in the panel.
- Set the file name in the title bar, dark or light, and line numbers on or off.
- Resize the card with its handles and set the text size, so every line fits.
- Pick a background and a size: 1600 × 900 for X, or 1080 × 1350 for LinkedIn and Instagram.
- Download or copy. PNG, JPG, WebP or PDF at 1× to 4×, every page in one ZIP, or copy it and paste it straight into X, LinkedIn, Slack or a doc.
Everything happens in your browser: your screenshots never leave your device. Save keeps your designs in this browser, pictures and all, so you can come back to them.
Tips for sharing code as an image
- Keep it short. Ten to fifteen lines read well on a phone; cut the imports.
- One idea per image. For a longer walkthrough, make one page per step and download them all, or turn it into a carousel.
- Point at the line that matters with a highlighter or an arrow.
- Add the code as text too in the post or the alt text, so people can copy it and screen readers can read it.
Colours mark keywords, strings, numbers, comments and function names in most languages. Next to a screenshot of the result, the Code card is in Annotate, in any template.
Everything in aiCarousels Screenshot Studio, free
- 204 templates in nine kinds: clean, 3D, devices, layouts, social and text, banners and covers, launches, effects, App Store and Google Play sets. Your screenshot stays when you switch.
- 64 mockups, with a search field to find one fast: 33 device models (iPhone 17, Air, Pro and Pro Max, Pixel and Galaxy phones, iPad Pro, Air and mini, MacBook Pro and Air from the side or straight from the front, an iMac, a studio display, an ultrawide monitor, a TV, three watches and soft clay versions), macOS and Windows windows, Safari- and Chrome-style browsers, a terminal, a code editor, a mail window and a sidebar app, glass, stacked, offset, outline and matted cards, and paper: Polaroid, print, tape, sticky note, film strip, gallery frame, notebook, clipboard, stamp and torn paper. Devices come in nine colours.
- 11 layouts for more than one screenshot: side by side, stacked, before and after, three, cascade, fan, grid, mosaic, an isometric wall, and a laptop with a phone.
- Real 3D: every screenshot is its own object with thickness, seen in perspective. Phones, tablets, watches, laptops with their keyboards and monitors on their stands are solid objects with light on their edges. 20 angles (isometric, hero, on a desk, lay back, floating, close-up, from above…) or your own tilt, turn, rotation, depth and thickness, with a shine on top.
- Backgrounds: 32 wallpapers, 48 gradients, more made from your screenshot’s own colours or from one brand colour, solid colours, your photo, free stock photos, a blurred copy of the screenshot, or transparent, with patterns, grain, dither, light effects and a colour wash.
- A header: a title and a line under it above or below the screenshot, with your logo; the screenshot makes room for it.
- Notes on top: text in any Google Font, labels, callouts, stickers, a code card, keyboard keys, curved and hand-drawn arrows, boxes, circles, highlighter, numbered steps, a mouse cursor, emoji, icons, your logo, a QR code, wireframe blocks and post cards for X, LinkedIn, Threads and Bluesky.
- Numbers and proof: a progress meter for MRR or any goal, a stat card with its change, a star rating and a laurel award badge.
- Hide and point: blur, pixelate and progressive blur for private details; a spotlight and a magnifier for the one thing that matters.
- Your brand: a brand kit with your colours, font and logo, your own watermark, and saved styles you apply to any screenshot in one click.
- 31 sizes ready for X, LinkedIn, Instagram, stories, Threads, Bluesky, Pinterest, YouTube, Open Graph, Product Hunt, Dribbble, the App Store and Google Play, with banners for LinkedIn, X, Bluesky, Facebook and YouTube, or any custom size up to 8000 px.
- Downloads and saving: PNG, JPG, WebP or PDF at 1× to 4×, every page in one ZIP or one PDF, or copy and paste. Designs save in your browser, and a design file moves one to another browser or computer.
- Fast to work with: paste with Ctrl+V or ⌘V, drag and drop, handles to resize and rotate right on the design, arrow keys to nudge, zoom, undo, keyboard shortcuts, a command menu (Ctrl+K or ⌘K), pages for sets and carousels, your last 12 uploads kept in the browser to use again, and Focus, which hides the rest of this page so only the editor shows.
Sharing your product on LinkedIn or Instagram? A carousel of a few slides usually gets more attention than one image. aiCarousels writes the slides from your idea, a link or a PDF, in your voice, and your screenshots fit right in.


