While looking for a more space-efficient binary-to-text encoding I came across Base122. I’ve not played with it in detail but it seems to be a viable alternative to Base64.