Minecraft wiki entry for Custom_maps, associated text: JSON is meant to be read both with and without newlines. We can remove all newlines that are part of the JSON file (be sure not to remove any "\n" inside strings!) to reduce its file size. You can also remove spaces between JSON values. Minifying JSON files doesn't save that much space since they are made of text. However, over a large number of files, the space saved could add up.