Tools in the editor.
The web editor registers its tools with the browser’s agent through WebMCP, a W3C draft that Chrome is previewing.
Paste a snippet. Pick a theme, mark the lines that matter, and export an image or a video at the size X, LinkedIn and your README expect.
Free and open source. No account needed.
Each tab is a step. CodeImage works out what stayed, what went and what is new, and moves each piece of code to its place.
A scroll scene in four parts. Three tabs of the same getUser function become three steps. Code that two steps share slides to its new place, removed code fades out and new code fades in. The second step marks one line as removed and one as added. The third step adds a return type and focuses that line, so the rest dims. Beside the frame, the Animate panel lists the tabs with how long each one holds, and the transitions with their duration and easing. The frame then becomes an MP4 for social and a GIF for a README.
Each tab is a step. Set how long each one holds.
Code that both steps keep slides to its new position. Removed code fades out. New code fades in.
Marks travel with the steps. Each transition has its own duration and easing.
MP4 for social, GIF for a README, from the browser, with a file size estimate before you export.
Two files, one animation.pnpm dlx @codeimage-app/cli before.ts after.ts --animate -o change.gifnpx @codeimage-app/cli before.ts after.ts --animate -o change.gif
Ask your coding agent for an image or a video of the change it just made. With the skill it runs the CLI, and in Chrome it can drive the web editor.
/codeimage make an image of the fix I just made, in Dracula, sized for X.
The web editor registers its tools with the browser’s agent through WebMCP, a W3C draft that Chrome is previewing.
Paths on stdout, progress on stderr, exit codes 0, 1 or 2. --offline disables all network access, and secrets are redacted by default.
Card, Editor or Terminal. The new Accent wash surface and Hairline border take their colour from the theme.
Hover a theme to preview it. The one you pick also colours the window.
TypeScript, Python, Rust, Go, SQL and 25 more.
Tabs, as in your editor.
Save a look and apply it to the next snippet.
Sign in to keep projects and open them from any device.
Mark lines as added or removed, highlight them, or focus on them so the rest of the snippet dims. Paste a unified diff or Shiki annotations and the marks come with the code.
One button copies the language, file name, line range and the code itself.
TypeScript code, snippet.tsx, lines 1 to 14import {createSignal} from 'solid-js';
export function Snippet(props: {code: string}) {
const [copied, setCopied] = createSignal(false);
const copy = () => navigator.clipboard
.writeText(props.code)
.then(() => setCopied(true));
return (
<button onClick={copy}>
{copied() ? 'Copied' : 'Copy code'}
</button>
);
}Pick X, LinkedIn, Square or Open Graph. The whole window is fitted inside that exact size, so nothing is cropped when you post.
Put your handle on the image as Minimal, Pill or Card. It is saved with your presets.
API keys and tokens are flagged before you export, and redacted in one click.
Two editor layouts, and for every action.
2.0 adds Takumi (opens in a new tab), a new export engine. The same engine draws the image in the web app and in the CLI, so a preset gives the same picture in both places.
Or copy the image straight to the clipboard.
Text is exported as vector paths, so the file opens in Figma, Illustrator or Keynote with no missing fonts and scales to any size.
If Takumi cannot draw a snippet, the classic export takes over.
codeimage renders in Node 24 with no browser, using the presets you saved in the web app. Secrets are redacted by default.
pnpm dlx @codeimage-app/cli src/example.ts -o example.pnggit diff | pnpm dlx @codeimage-app/cli --diff -o changes.pngpnpm dlx @codeimage-app/cli src/example.ts --focus 3-5 --highlight 4 -o focused.pngpnpm dlx @codeimage-app/cli src/example.ts --size x-landscape --signature @you -o social.pngpnpm dlx @codeimage-app/cli before.ts after.ts --animate -o change.gifUse it in CI, docs builds and scripts.
Yes. CodeImage is MIT licensed and free to use.
No. You can edit and export without one. An account only adds saved snippets.
PNG, JPEG, WebP and SVG images, and GIF or MP4 animations.
The codeimage command renders the same images and videos in Node, for CI, docs builds and coding agents. Run it with pnpm dlx @codeimage-app/cli, or give your agent the skill with pnpm dlx skills add riccardoperra/codeimage.
CodeUI is the component library CodeImage is built on, now open source and in beta. @codeui/solid has the components for Solid 2. @codeui/styles is the same design as plain CSS, for any framework. Expect changes before 1.0.
pnpm add @codeui/solidThis page is styled with @codeui/styles.
Background, padding and size.
MIT licensed. Fix a bug, add a theme, or propose a feature.