
A few years ago, I published a list of good options for sharing code snippets.
Now, with new tools emerging and others evolving, I’ve prepared an updated version: 20 Alternatives for Sharing Code as Images. If you’ve seen the old list, this is a continuation, but with IMAGES. If you haven’t, this new selection already includes what’s worth using today.
Very clean and simple interface. Has light, dark, and gradient backgrounds. Allows adjusting padding, font size, and exporting as PNG.

Highly configurable: themes, borders, windows, fonts. Great for those who want to “build” the image, not just copy and paste.

Allows for more complex layouts: multiple code blocks, annotations, diagrams. Exports in PNG or SVG.

Simple (“no-frills”) interface for quickly turning code into an image. Allows for different themes and languages.

Has interesting modes like “diff mode” (showing differences between code versions). Allows customization of background, line numbers, reflection, etc.

Minimalist tool for generating simple and elegant images. Support for different languages, customizable font, and simple settings.

Extension for VS Code: generates a screenshot directly from the editor, preserving your theme. Very useful if you want to capture code snippets while you’re already programming.

A CLI tool for generating code images.

Generates organized images of snippets with a professional appearance.

Captures code snippets with highlighting and styled borders.

Transforms code into customized images for sharing.

Offers modern templates for generating code images.

Quick tool for converting code into adjustable images.

Creates short, dynamic code videos for social media.

Allows saving and sharing snippets in a clean visual style.

Complete snippet manager for macOS.

Extension that generates styled screenshots directly in the browser.

Simple and fast sharing of code snippets.

Generates elegant code images with configurable themes.

Creates professional snippet images for posts and portfolios.
