diff --git a/index.html b/index.html
index 5e104f0..9ef77da 100644
--- a/index.html
+++ b/index.html
@@ -108,7 +108,7 @@
return url;
}
-const urlParams = new URLSearchParams(location.search);
+const urlParams = new URLSearchParams(encodeURI(location.search));
const sqliteUrl = fixUrl(urlParams.get('url'));
const memory = !!urlParams.get('memory');
const metadataUrl = fixUrl(urlParams.get('metadata'));