terminal‑svg

Your terminal.
Rendered beautifully.

Pixel-perfect SVG screenshots and animated recordings of your terminal. From one small Rust binary.

An animated terminal-svg recording of a shell session, replayed as an SVG

This isn't a video. It's a 44 KB SVG, recorded with terminal‑svg rec.

True to every character.

Other tools strip escape codes and hope. terminal‑svg runs your output through a real virtual terminal — the same state machine behind asciinema — so progress bars, carriage returns and cursor tricks land exactly where they should.

A progress bar and step output rendered faithfully in the GitHub Light theme

Your fonts fly first class.

Every SVG embeds a JetBrains Mono Nerd Font, subsetted to just the glyphs you used and compressed as WOFF2. Send it anywhere. It renders identically — no fonts installed, no fallbacks, no surprises.

Bold, italic, underline and other text styles rendered in the GitHub Light theme

Record. Replay.
Relive.

terminal‑svg rec captures a live session and replays it as an animated SVG. GIF‑quality demos at a fraction of the size. Asciicast v2 in and out, so your old asciinema recordings play too.

An animated typing session recorded and replayed by terminal-svg in the Dracula theme
Record a session
terminal-svg rec -o demo.svg
Re-theme any asciicast
terminal-svg demo.cast -t nord -o replay.svg

Nine stunning finishes.

Dracula to Solarized, with Catppuccin, Nord, Tokyo Night and both GitHubs in between — plus PowerShell and Ubuntu in their native window chrome. Or bring your own — any TOML file with sixteen colors works.

The starship prompt rendered in the Dracula themeThe starship prompt rendered in the Catppuccin Mocha themeThe starship prompt rendered in the Nord themeThe starship prompt rendered in the Tokyo Night themeThe starship prompt rendered in the GitHub Dark themeThe starship prompt rendered in the GitHub Light themeThe starship prompt rendered in the Solarized Dark themeThe starship prompt rendered in the PowerShell themeThe starship prompt rendered in the Ubuntu theme

Dracula

Speaks fluent emoji.
And 漢字.

Double-width characters are measured and placed correctly. Emoji render through native color fonts. Your terminal is international — your screenshots are too.

CJK text and emoji rendered correctly in the Catppuccin Mocha theme

Works the way you work.

Run a command. Pipe some output. Render a file. However it arrives, one SVG comes out.

Run a command in a PTY
terminal-svg -- lsd -la
Pipe ANSI straight in
ls --color=always | terminal-svg -o ls.svg
Render a saved dump
terminal-svg dump.ansi -t nord -o dump.svg

Get terminal‑svg.

Version 0.3.0 — released 6 July 2026. See what's new

Homebrew

macOS and Linux. The tap updates itself with every release.

Terminal
brew install russmckendrick/tap/terminal-svg

Build from source

Rust 1.85 or later. Fonts are bundled in the repo.

Terminal
git clone https://github.com/russmckendrick/terminal-svg && cd terminal-svg && cargo build --release