For many of these manipulations, I use https://gchq.github.io/CyberChef/ which lets you pipe them together.

Discussed 1 year ago:

https://news.ycombinator.com/item?id=29982286 (54 comments)

Full source code is here:

https://github.com/gchq/CyberChef