You can use this tool to compress and decompress objects in your application. With that solution you can for example reduce the size of URL query parameters when hitting the length limit.