Encoding to base64 increases the size by at least 33%. This is to help make links small enough to share on places like twitter, dischord etc where the max length is around 4000 bytes.
Example #1 (short string):
input: 103 bytes
gzip(input): 87 bytes
base64(gzip(input)): 117 bytes
Example #2 (long string): input: 3122 bytes
gzip(input): 840 bytes
base64(gzip(input)): 1121 bytes