diff --git a/templates/other/accounts.csv.tt2 b/templates/other/accounts.csv.tt2
new file mode 100644
index 0000000000000000000000000000000000000000..ec26aace3c92cad1e776951a51a6fd54dcec43df
--- /dev/null
+++ b/templates/other/accounts.csv.tt2
@@ -0,0 +1,18 @@
+[% all_attributes = {} %]
+[% FOREACH account IN accounts %]
+    [% template = account.profile() _ '.tt2' %]
+    [% PROCESS $template scope=account.scope() id=account.id() | trim %]
+    [% all_attributes.import(attributes) %]
+[% END %]
+[% attributes_list = all_attributes.keys.sort -%]
+username,password,profile,[% attributes_list.join(',') %]
+[%+ FOREACH account IN accounts %]
+    [% template = account.profile() _ '.tt2' %]
+    [% PROCESS $template scope=account.scope() id=account.id() | trim %]
+    [% account.internal_uid() %],
+    [% account.password() %],
+    [% account.profile() %],
+    [% FOREACH attribute IN attributes_list %]
+        [% attributes.$attribute.join(', ').quote('"') %],
+    [% END %]
+[%+ END %]