diff --git a/hits.php b/hits.php
index 61c5e8c..47e2f0b 100644
--- a/hits.php
+++ b/hits.php
@@ -44,7 +44,7 @@ foreach ($data[$path] as $key => $val) {
}
// Save data
- file_put_contents($data_file, json_encode($data));
+ file_put_contents($data_file, json_encode($data, JSON_PRETTY_PRINT));
flock($lock, LOCK_UN);
fclose($lock);