rc is a command line tool for converting text between encodings and applying transformations to them.
$ git clone https://github.com/elliotcubit/rc.git
$ cd rc
$ cargo install --path .
rc converts between encodings
$ rc --from hex --to utf8 68656c6c6f20726321
hello rc!
rc can guess what encoding your argument is, and will tell you its guess
$ rc --to utf8 68656c6c6f20726321
[hex (inferred) ~> utf8]
hello rc!
rc outputs common formats when you don't tell it what to do
$ rc 68656c6c6f20726321
[hex (inferred) ~> utf8, hex, base 64]
utf8: "hello rc!"
hex: "68656c6c6f20726321"
base 64: "aGVsbG8gcmMh"
rc outputs multiple specific formats
$ rc -t utf8 -t base64 68656c6c6f20726321
[hex (inferred) ~> utf8, base 64]
utf8: "hello rc!"
base 64: "aGVsbG8gcmMh"
rc accepts data from stdin
$ nc 127.0.0.1 | rc
[utf8 (inferred) ~> utf8, hex, base 64]
utf8: "hello network"
hex: "68656c6c6f206e6574776f726b"
base 64: "aGVsbG8gbmV0d29yaw=="
- raw bytes
- should only be an input format
- hex
- base64
- utf8
- base32
- binary
- ascii85
- url
- spelling alphabet
- 2
- 8
- 10
- 16
- reverse
- uppercase
- camelcase
- snakecase
- caeser
- vigenère
- rot13
- substitution
- md5
- sha256
MIT