Terminal capture · native SVG

Terminal output,ready to publish.

Capture a command, ANSI stream, or recording as a faithful SVG. Fonts, colour, animation, and source data travel in one file.

Try itterminal-svg -o help.svg -- terminal-svg --help
Animated deployment command captured by terminal-svg
demo.svgGenerated by terminal-svg
Canvas
555 × 321
Playback
Pure SVG
Font
Embedded
One binaryWritten in Rust
Five inputsCommand to asciicast
Zero runtimeSVG and CSS only
Source includedExtract and re-render

Five ways in.
One honest file out.

terminal-svg reads the same things your terminal does. Choose the input you already have; every route ends in a portable SVG.

Read the CLI reference
  1. 01

    Run a command

    Capture under a real PTY, so colour and interactive output stay switched on.

    terminal-svg -o help.svg -- terminal-svg --help
  2. 02

    Pipe ANSI

    Turn an existing coloured stream into a finished document.

    ls --color=always | terminal-svg
  3. 03

    Render a capture

    Resolve cursor movement, clears, progress bars, and terminal state.

    terminal-svg dump.ansi
  4. 04

    Replay a recording

    Render asciicast v2 or v3 as compact, pure-SVG animation.

    terminal-svg demo.cast
  5. 05

    Rework an SVG

    Re-theme or resize a terminal-svg file without making the capture again.

    terminal-svg demo.svg -t nord
THE SVG IS THE SOURCEText styling faithfully rendered in an SVG
ANSI captureRender optionsSubset font
Progress output rendered by terminal-svg

Not a screenshot with a new extension.

Every terminal-svg file can carry its original ANSI or asciicast source alongside the effective render options. Re-theme it, resize it, or recover the recording later.

Re-render directly
terminal-svg demo.svg -t github-dark -o dark.svg
Recover the capture
terminal-svg extract demo.svg -o demo.cast

Same capture.
Different destination.

Nine documented palettes, custom TOML themes, and light/dark pairs for SVGs that follow the viewer’s colour scheme.

Explore theme options
01Starship prompt rendered with the Dracula theme
Dracula
02Starship prompt rendered with the GitHub Light theme
GitHub Light
03Starship prompt rendered with the Nord theme
Nord
04Starship prompt rendered with the Ubuntu theme
Ubuntu
Browse every fixture and theme

One command.
Your first SVG.

Latest: v0.6.0, released 8 July 2026.

Homebrew
brew install russmckendrick/tap/terminal-svg
First capture
terminal-svg -o help.svg -- terminal-svg --help
Download a prebuilt binary