I have a huge unformatted JSON file - size is around 2.5G. Is there any tool or way to write script that can help me to format this file into well-readable indented format? I have PC with Intel Core i7 and 16GB memory, so it is more-less that elevated hardware requirement should not be an issue.
Asked
Active
Viewed 1,679 times
1
-
3Are you really wanting to human read a 2.5GB json file, that could be 3-4GB when formatted ? – xlecoustillier Mar 22 '16 at 08:31
-
yes, I was ok with that. – ivan.ukr Sep 09 '22 at 20:14
-
simple solution [how to format big json file in effective way](https://stackoverflow.com/questions/19875218/best-way-to-format-large-json-file-30-mb) – NIKUNJ PATEL Feb 22 '23 at 09:19
-
Nowadays probably just jq will work – ivan.ukr Feb 22 '23 at 18:56
3 Answers
-2
There is an online tool - https://conversiontools.io/convert/format-json which is able to format JSON files of up to 100 GB.
But there are limits for free usage - at the moment of writing it's only possible to convert files (for free) up to 20MB.

drdmitry
- 21
- 5