How to compress json file Table of Contents For a single file use this: jq -c . all_json_words.json > minify_words.jsonto use it in a for loopfor file in *.json; do jq -c . "$file" > "${file%.json}.min.json"done Join the Conversation ❤️ 🤯 🔥 🚀