diff --git a/changelog/23747.txt b/changelog/23747.txt
new file mode 100644
index 000000000..bf611ed14
--- /dev/null
+++ b/changelog/23747.txt
@@ -0,0 +1,3 @@
+```release-note:improvement
+ui: Adds toggle to KV secrets engine value download modal to optionally stringify value in downloaded file
+```
\ No newline at end of file
diff --git a/ui/lib/core/addon/components/masked-input.hbs b/ui/lib/core/addon/components/masked-input.hbs
index 551b9c4d7..e3d0863a2 100644
--- a/ui/lib/core/addon/components/masked-input.hbs
+++ b/ui/lib/core/addon/components/masked-input.hbs
@@ -62,13 +62,26 @@
This download is
unencrypted. Are you sure you want to download this secret data as plaintext?
+
+
+
+ Stringify secret value
+ Preserve formatting for JSON values.
+
+