cross-platform, cli app to perform various operations on string
1,348
stars
249
commits
Go
primary language
Dec 25, 2025
updated

Website | Install | Getting Started | CLI Reference | Source Code
sttr is command line software that allows you to quickly run various transformation operations on the string.
// With input prompt
sttr
// Direct input
sttr md5 "Hello World"
// File input
sttr md5 file.text
sttr base64-encode image.jpg
// Reading from different processor like cat, curl, printf etc..
echo "Hello World" | sttr md5
cat file.txt | sttr md5
// Writing output to a file
sttr yaml-json file.yaml > file-output.json

You can run the below curl to install it somewhere in your PATH for easy use. Ideally it will be installed at ./bin
folder
curl -sfL https://raw.githubusercontent.com/abhimanyu003/sttr/main/install.sh | sh
If you are on macOS and using Homebrew, you can install sttr with the following:
brew install abhimanyu003/sttr/sttr
sudo snap install sttr
yay -S sttr-bin
docker run -it --rm -e TERM=xterm-256color ghcr.io/abhimanyu003/sttr:latest
You can use docker image in your project from
ghcr.io/abhimanyu003/sttr:latest
winget install -e --id abhimanyu003.sttr
scoop bucket add sttr https://github.com/abhimanyu003/scoop-bucket.git
scoop install sttr
If you are a user of x-cmd, you can run:
x install sttr
macOS / Linux
curl -sS https://webi.sh/sttr | sh
Windows
curl.exe https://webi.ms/sttr | powershell
See here
go install github.com/abhimanyu003/sttr@latest
MacOS Binary ( Multi-Architecture )
Linux (Binaries) amd64 | arm64 | i386
Windows (Exe) amd64 | arm64 | i386
FreeBSD (Binaries) amd64 | arm64 | i386
Download the pre-compiled binaries from the Release! page and copy them to the desired location.
sttr command.// For interactive menu
sttr
// Provide your input
// Press two enter to open operation menu
// Press `/` to filter various operations.
// Can also press UP-Down arrows select various operations.
sttr -h
// Example
sttr zeropad -h
sttr md5 -h
sttr {command-name} {filename}
sttr base64-encode image.jpg
sttr md5 file.txt
sttr md-html Readme.md
sttr yaml-json file.yaml > file-output.json
curl https://jsonplaceholder.typicode.com/users | sttr json-yaml
sttr md5 hello | sttr base64-encode
echo "Hello World" | sttr base64-encode | sttr md5
These are the few locations where sttr was highlighted, many thanks to all of you.
Please feel free to add any blogs/videos you may have made that discuss sttr to the list.
This project welcomes your PR and issues. For example, refactoring, adding features, correcting English, etc.
A quick development guide can be found on. Developer-Guides wiki page.
If you need any help, you can contact me on Twitter.
Thanks to all the people who already contributed!
Go
96.8%
Shell
3.2%
cross-platform, cli app to perform various operations on string
1,348
stars
249
commits
Go
primary language
Dec 25, 2025
updated

Website | Install | Getting Started | CLI Reference | Source Code
sttr is command line software that allows you to quickly run various transformation operations on the string.
// With input prompt
sttr
// Direct input
sttr md5 "Hello World"
// File input
sttr md5 file.text
sttr base64-encode image.jpg
// Reading from different processor like cat, curl, printf etc..
echo "Hello World" | sttr md5
cat file.txt | sttr md5
// Writing output to a file
sttr yaml-json file.yaml > file-output.json

You can run the below curl to install it somewhere in your PATH for easy use. Ideally it will be installed at ./bin
folder
curl -sfL https://raw.githubusercontent.com/abhimanyu003/sttr/main/install.sh | sh
If you are on macOS and using Homebrew, you can install sttr with the following:
brew install abhimanyu003/sttr/sttr
sudo snap install sttr
yay -S sttr-bin
docker run -it --rm -e TERM=xterm-256color ghcr.io/abhimanyu003/sttr:latest
You can use docker image in your project from
ghcr.io/abhimanyu003/sttr:latest
winget install -e --id abhimanyu003.sttr
scoop bucket add sttr https://github.com/abhimanyu003/scoop-bucket.git
scoop install sttr
If you are a user of x-cmd, you can run:
x install sttr
macOS / Linux
curl -sS https://webi.sh/sttr | sh
Windows
curl.exe https://webi.ms/sttr | powershell
See here
go install github.com/abhimanyu003/sttr@latest
MacOS Binary ( Multi-Architecture )
Linux (Binaries) amd64 | arm64 | i386
Windows (Exe) amd64 | arm64 | i386
FreeBSD (Binaries) amd64 | arm64 | i386
Download the pre-compiled binaries from the Release! page and copy them to the desired location.
sttr command.// For interactive menu
sttr
// Provide your input
// Press two enter to open operation menu
// Press `/` to filter various operations.
// Can also press UP-Down arrows select various operations.
sttr -h
// Example
sttr zeropad -h
sttr md5 -h
sttr {command-name} {filename}
sttr base64-encode image.jpg
sttr md5 file.txt
sttr md-html Readme.md
sttr yaml-json file.yaml > file-output.json
curl https://jsonplaceholder.typicode.com/users | sttr json-yaml
sttr md5 hello | sttr base64-encode
echo "Hello World" | sttr base64-encode | sttr md5
These are the few locations where sttr was highlighted, many thanks to all of you.
Please feel free to add any blogs/videos you may have made that discuss sttr to the list.
This project welcomes your PR and issues. For example, refactoring, adding features, correcting English, etc.
A quick development guide can be found on. Developer-Guides wiki page.
If you need any help, you can contact me on Twitter.
Thanks to all the people who already contributed!
Go
96.8%
Shell
3.2%