Local CLI · 16:9 PNG

Text in.
Card out.

Auto-fitted titles, body copy, and bullets into clean 1920×1080 cards — from your terminal.

npm i -g txt2card
Example card: Ship faster

Real output · 1920×1080 · bundled Inter fonts


One command. Zero servers.

Fully local. No browser, no backend, no idle process. Sub-second renders on a typical laptop.

# preferred
npm i -g txt2card

txt2card title "Ship faster"
txt2card bullets "One" "Two" "Three"

# full name still works
text-to-card title "Hello"

Output lands in cards/card_YYYY_MM_DD_HH_mm_ss_Slug.png by default. Override with -o path.png.


Four layouts. Auto-fit type.

Title, text, description, and bullets — each scales content to fit safe margins.


Built for agents and humans who ship slides of text.

  1. 01
    Local only

    Sharp + bundled fonts. No Chromium. No network call to render a card.

  2. 02
    Same look everywhere

    Inter ships in the package so macOS, Linux, and Windows match.

  3. 03
    Predictable names

    cards/card_YYYY_MM_DD_HH_mm_ss_Slug.png — easy for scripts and agents.

  4. 04
    Agent-ready

    Skill included for Codex and similar tools: skills/text-to-card.


Make a card in under a second.

Open source under MIT. Install from npm or clone the repo.