Compress feed files
Stay organized with collections
Save and categorize content based on your preferences.
Any .json
or .pb3
file may be compressed using gzip before uploading.
This can significantly reduce the byte size of daily feeds.
Each shard file should be gzip
'd and uploaded individually
(e.g. with gzip *.json
). Compressed feed shards should end in
.json.gz
or .pb3.gz
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-20 UTC.
[null,null,["Last updated 2025-05-20 UTC."],[[["\u003cp\u003eDaily feed file size can be significantly reduced by compressing them with gzip before uploading.\u003c/p\u003e\n"],["\u003cp\u003eBoth \u003ccode\u003e.json\u003c/code\u003e and \u003ccode\u003e.pb3\u003c/code\u003e files are eligible for compression.\u003c/p\u003e\n"],["\u003cp\u003eEach shard file needs individual gzip compression and the resulting compressed files should have the extension \u003ccode\u003e.json.gz\u003c/code\u003e or \u003ccode\u003e.pb3.gz\u003c/code\u003e respectively.\u003c/p\u003e\n"]]],["`.json` and `.pb3` files can be compressed with gzip to reduce file size. Each shard file must be individually compressed using gzip before uploading. Compressed files should use the extensions `.json.gz` or `.pb3.gz`. This process is recommended to minimize the size of daily data feeds. Individual compression is required.\n"],null,["# Compress feed files\n\nAny `.json` or `.pb3` file may be compressed using gzip before uploading.\nThis can significantly reduce the byte size of daily feeds.\n\nEach shard file should be `gzip`'d and uploaded individually\n(e.g. with `gzip *.json`). Compressed feed shards should end in\n`.json.gz` or `.pb3.gz`."]]