TOML

TOML Code Screenshot Generator

Turn TOML snippets into images worth sharing, without leaving your Mac.

TOML shows up in Cargo manifests and tool config, where the thing worth showing is usually three lines in the middle of a long file.

Codeshot detects TOML from the code you paste, so there is no language picker to get wrong. Here is the same snippet in three of the 30 themes it ships with, rendered with the app's own stylesheets.

[package]
name = "snapshot"
version = "1.3.0"
edition = "2021"

[dependencies]
image = { version = "0.25", features = ["png"] }
Edge · dark
[package]
name = "snapshot"
version = "1.3.0"
edition = "2021"

[dependencies]
image = { version = "0.25", features = ["png"] }
GitHub · dark
[package]
name = "snapshot"
version = "1.3.0"
edition = "2021"

[dependencies]
image = { version = "0.25", features = ["png"] }
Solarized · dark

Choosing a theme for TOML

Keep the section header in frame. A TOML key without its table above it is ambiguous, and cropping it out changes the meaning.

Getting the size right

Let the image follow your content, or lock it to a ratio — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3, or 3:4 — then export at 1×, 2×, or 3× so it stays sharp on a retina display. Copy it straight to the clipboard with C, or save with S.

See all 30 themes side by side, or read the full workflow.

Built for TOML, and 59 other languages

Everything runs on your Mac. Your code never leaves it.

Download for macOS