diff --git a/core/modules/file/config/schema/file.destination.schema.yml b/core/modules/file/config/schema/file.destination.schema.yml
index 5d494f7..c6b197f 100644
--- a/core/modules/file/config/schema/file.destination.schema.yml
+++ b/core/modules/file/config/schema/file.destination.schema.yml
@@ -5,3 +5,6 @@ migrate.destination.entity:file:
     source_path_property:
       type: string
       label: 'Source path'
+    urlencode:
+      type: boolean
+      label: 'Whether to urlencode incoming file paths'
diff --git a/core/modules/file/migration_templates/d6_file.yml b/core/modules/file/migration_templates/d6_file.yml
index e8ead68..9e244ee 100644
--- a/core/modules/file/migration_templates/d6_file.yml
+++ b/core/modules/file/migration_templates/d6_file.yml
@@ -23,3 +23,4 @@ process:
   uid: uid
 destination:
   plugin: entity:file
+  urlencode: true
diff --git a/core/modules/file/migration_templates/d7_file.yml b/core/modules/file/migration_templates/d7_file.yml
index 5be3211..81ba775 100644
--- a/core/modules/file/migration_templates/d7_file.yml
+++ b/core/modules/file/migration_templates/d7_file.yml
@@ -23,3 +23,4 @@ process:
 destination:
   plugin: entity:file
   source_path_property: filepath
+  urlencode: true
