asciinema-convert(1)
okay bestie, welcome to asciinema-convert(1) β the General Commands Manual page for the asciinema convert command. It's giving terminal-glowup energy, and I'm obsessed π
β¨
πΈ NAME πΈ
asciinema-convert β Convert a recording to another format π
π SYNOPSIS π
asciinema convert [-f|--output-format] [--overwrite] [-q|--quiet]
[-h|--help] <INPUT> <OUTPUT>
π DESCRIPTION π
This icon converts a recording to another format. It transforms asciicast files between different formats (v1, v2, v3) or exports to other formats like raw terminal output or plain text. It supports reading from files, URLs, or stdin and writing to files or stdout. Literally all the flexible vibes, no cap π¦
β¨ OPTIONS β¨
-f,--output-format=FORMATβ Specify the format for the converted recording. The default isasciicast-v3. If the output file path ends with.txt, thetxtformat will be selected automatically unless this option is explicitly specified. Possible values:asciicast-v3β Full-featured session format, with timing and metadata (current generation) βhttps://docs.asciinema.org/manual/asciicast/v3/βasciicast-v2β Full-featured session format, with timing and metadata (previous generation) βhttps://docs.asciinema.org/manual/asciicast/v2/πrawβ Raw terminal output, including control sequences, without timing and metadata π₯txtβ Plain text without colors or control sequences, human-readable πΈ
--overwriteβ Overwrite the output file if it already exists. By default,asciinemawill refuse to overwrite existing files to prevent accidental data loss. Has no effect when writing to stdout ('-'). Protect your faves, bestie! π«Ά-q,--quietβ Suppress diagnostic messages and progress indicators. Only error messages will be displayed. π€«-h,--helpβ Print help (see a summary with'-h'). π<INPUT>β The source recording to convert. Can be a local file path, HTTP(S) URL for remote files, or'-'to read from standard input. Remote URLs allow converting recordings directly from the web without need for manual downloading. Supported input formats include asciicast v1, v2 and v3 π<OUTPUT>β The output path for the converted recording. Can be a file path or'-'to write to standard output π«
π¬ EXTRA π¬
Examples, queen: π
asciinema convert old.cast new.castβ Converts a recording to the latest asciicast format (v3) β¨asciinema convert demo.cast demo.txtβ Exports a recording as a plain-text log β output format inferred from the.txtextension πasciinema convert --output-format raw demo.cast demo.txtβ Exports as raw terminal output π₯asciinema convert -f txt demo.cast -β Exports as plain text to stdout π¦asciinema convert https://asciinema.org/a/569727 starwars.castβ Downloads a remote recording and converts it to the latest asciicast format (v3) β
cute sign-off: this footer energy is convert + asciinema-convert(1) β and there's no date printed, so I'm not inventing one. byeee, go convert something iconic π
π«Άπ
π¦ where this page comes from
- alpine 3.24: asciinema-doc 3.2.0-r0 Β· GPL-3.0-or-later
- arch rolling: asciinema 3.2.1-1 Β· GPL-3.0-only
- nixos 26.05: asciinema 3.2.0
- nixpkgs unstable: asciinema 3.2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms