- Category
- Developer Tools
- Rank
- No. 1345Tools index
Previous survey · No. 1323 ·
- Pricing
- Open Source
- Type
- TOOL
- Use case
- Data, Retrieval & Knowledge
- Interfaces
- CLI
- GitHub
- 112 stars
- Latest release
- v0.7.0
- Date
About
Sauva is a terminal application for searching and browsing Unicode code points. It shows properties, encodings and decomposition mappings with a glyph preview, and can split a string into code points and grapheme clusters and compare the four normalization forms. This helps when debugging text that looks identical but encodes differently.
At a glance
Sauva is a terminal Unicode explorer that shows what characters and code points are present in a string. It is worth trying when two strings look alike but compare differently, or when cursor movement through an emoji surprises you.
Good fit
Developers debugging text parsing, normalization or display who prefer an interactive terminal tool.
Consider something else when
Skip it if you need automated checks across a large corpus or a diagnosis of exactly how a browser renders the same font.
Start here
Compare a precomposed accented letter with the same letter followed by a combining accent. Inspect their code points and grapheme clusters, then compare their normalized forms.
Cost and requirements
The project publishes Cargo, Homebrew and prebuilt installation paths. It bundles Unicode 17 data and inspects strings in the terminal.
Limits to know
The preview depends on the terminal and its fonts. A code-point breakdown can explain the input without reproducing the rendering in another application.
Sources checked 2026-11-05. Source-based assessment.
Read the source review
What it does
A Unicode reference you run in a terminal window. Give it one character or a code point number and it opens a full property sheet: official name, script, category, case mappings, numeric value and byte-level encodings. Give it a longer string and it lists every code point, groups them into the units a reader sees as single characters, and shows how each of the four standard normalization rewrites would change the text. A one-shot mode prints the same analysis as plain text or JSON and exits, so scripts can use it too.
Why it's ranked here
Sauva is a small, single-author Rust tool that does one job with unusual care. It is MIT licensed, installs through Cargo, Homebrew or prebuilt binaries for macOS and Linux on both ARM and x86, and ships its Unicode 17.0.0 data inside the binary. The JSON report has a versioned schema and documented exit codes, which makes it usable in pipelines rather than only by hand. Tests sit beside the code and the test dependencies include snapshot and schema checkers. The narrow scope and missing Windows support keep it a specialist pick, but within that scope it is thorough.
What's good
The text-handling libraries are pinned to exact versions with a note to update them together with the bundled character data, so segmentation and normalization results match the Unicode version the tool reports. Odd cases are handled on purpose: surrogates return their properties while encodings come back empty instead of crashing, and the CLI escapes non-ASCII argument values in error messages. Property explanations are bundled and work offline. The output modes include quoted JSON and Rust string literals, which saves hand-escaping a tricky string before pasting it into code.
Tradeoffs
Windows is not supported, and the docs say so plainly. Glyph images depend on the Kitty graphics protocol: kitty and Ghostty are detected automatically, iTerm2 is opt-in with no guarantee, and Sixel is not implemented, so many terminals get text only. No fonts are bundled, so a missing glyph preview usually means a missing system font rather than a bug. The sample JSON in the docs reports an older tool version than the package manifest, a small sign that examples can lag the code.
How to use it well
Reach for it when two strings look identical but compare unequal, when a filename or identifier hides a zero-width or combining character, or when you need the exact UTF-8 and UTF-16 bytes of an emoji sequence. Pipe suspect text in on standard input with the literal-text flag and read the JSON in a script, or browse interactively in kitty or Ghostty for glyph previews. It does not fix text or scan files in bulk; pair it with your own tooling for that.
Technical notes+
src/main.rs dispatches early: --print-default-config and -o/--output both return before config::load() or the TUI starts, matching docs/src/getting-started/non-interactive-usage.md's claim that output mode needs no terminal, fonts or user config. src/cli.rs parses INPUT as a single char, U+/0x-prefixed hex (1 to 6 digits) or bare hex of 2 to 6 digits, falling back to a text sequence; --text bypasses notation parsing, and '-' reads stdin, where argument errors exit 2 and invalid stdin input exits 2 in output mode but 1 in the TUI. Cargo.toml pins unicode-normalization =0.1.25 and unicode-segmentation =1.13.3 to the bundled UCD, uses crossterm use-dev-tty on macOS so keys work after piped stdin, and loads Fontconfig via dlopen on Linux. src/app.rs holds a single AppState with an Action enum reducer; a hidden --demo flag drives deterministic fixture states.
Observed
- License
- MIT, with Unicode-derived data under the Unicode License v3
- Language
- Rust, edition 2024, minimum Rust 1.88.0
- Interfaces
- Terminal UI built on Ratatui, plus a non-interactive CLI with plain, json, json-string and rust-string output
- Install surface
- cargo install, Homebrew tap (macOS), release binaries for macOS arm64/x86-64 and Linux arm64/x86-64 (gnu and musl)
- Platform support
- macOS and Linux; Windows not supported per the compatibility docs
- Glyph preview
- Kitty graphics protocol with Unicode placeholders; iTerm2 opt-in; Sixel not implemented
- Bundled data
- Unicode 17.0.0 character data compiled in; no fonts bundled
- Tests
- Inline unit tests in src/main.rs and src/cli.rs; dev-dependencies include rstest, insta and jsonschema
- Machine-readable output
- JSON report with a schema version field and documented exit codes 0, 1 and 2
Read from README.md, Cargo.toml, src/main.rs, src/app.rs, src/cli.rs, docs/src/getting-started/installation.md, docs/src/getting-started/non-interactive-usage.md, docs/src/getting-started/json-reports.md, docs/src/features/inspector.md, docs/src/features/normalization.md, docs/src/getting-started/compatibility.md.
Similar tools
Tags
Tech Stack
Media
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.