3 stable releases
| 1.2.1 | Mar 18, 2025 |
|---|---|
| 1.2.0 | Feb 28, 2025 |
| 1.1.0 | Mar 25, 2024 |
#2681 in Command line utilities
1MB
347 lines
ASCII cli
This is a small CLI for quickly viewing the ascii table in your terminal!
Usage
Simple call the CLI with the table subcommand, to view the table
ascii-cli table

to get the table in base 16, or change the base by adding the argument:
-b {base}
You can also translate text strings to its ascii numbers, by using the to-num subcommand, like this:
ascii-cli to-num hello world
68 65 6C 6C 6F 20 77 6F 72 6C 64
And you can do the opposite too, by using the to-char subcommand, like this:
ascii-cli to-char 68 65 6C 6C 6F 20 77 6F 72 6C 64
hello world
Finally, you can use the what-is subcommand, to get more info about a specific character, like this
ascii-cli what-is 7
7: BEL - Bell
Category: Control Character
Description: Triggers a beep
Installation
You can clone the source code, and compile it yourself.
Or download one of the binaries in the latest release.
You can also download it with cargo install, like so:
cargo install ascii-cli
Dependencies
~1.1–9MB
~70K SLoC