diff --git a/src/debugging/debugJS.js b/src/debugging/debugJS.js
index aac1d50c7840374336d1ff0d68e186e69f7a0fb9..5e94aaa4a4461bcd9317eedf485eac465eb606ad 100644
--- a/src/debugging/debugJS.js
+++ b/src/debugging/debugJS.js
@@ -104,7 +104,7 @@ App.Debug.dumpGameState = function () {
 			if (oldHandler) {
 				oldHandler(save);
 			}
-			downloadToFile(JSON.stringify(save, null, 2), save.id + ".js", "text/plain");
+			downloadToFile(JSON.stringify(save, null, 2), save.id + ".json", "text/plain");
 		}
 		SugarCube.Save.serialize();
 	} finally {