# Binary breaks kdbx export

**URL:** <https://community.passbolt.com/t/binary-breaks-kdbx-export/9184>\
**Category:** Community Feedback\
**Created:** [January 8, 2024, 10:05am UTC](https://community.passbolt.com/t/binary-breaks-kdbx-export/9184 "2024-01-08T10:05:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lasa](https://avatars.discourse-cdn.com/v4/letter/l/6de8d8/32.png) [@lasa](https://community.passbolt.com/u/lasa)\
**Post date:** [January 8, 2024, 10:05am UTC](https://community.passbolt.com/t/binary-breaks-kdbx-export/9184/1 "2024-01-08T10:05:47Z")

</div>

Hi,  
I noticed, that I can break the kdbx export with binary in notes or password entry.  
Keepass says

```auto
Error while reading the database: XML error:
Unexpected ''.
Line 7, column 12

```

For example if I want to export a password with the following in the notes or password field: (Please not the hidden binary at the end, use the copy button from the preformatted text to copy it)

```auto
KvÌûçIE.Qçî

```

keepassxc cannot import it.

If I export to csv, this is the notes field in VIM:

```auto
KvÌûçIE.Qçî^U

```

The import from csv into keepassxc works and looks as expected:

```auto
KvÌûçIE.Qçî

```

Is this anything that could be fixed in passbolt export or a issue for keepassxc?

Best regards

---

<div class="post-metadata">

**Author:** ![antony](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.passbolt.com/antony/32/3130_2.png) [@antony](https://community.passbolt.com/u/antony)\
**Post date:** [January 8, 2024, 1:05pm UTC](https://community.passbolt.com/t/binary-breaks-kdbx-export/9184/2 "2024-01-08T13:05:31Z")

</div>

Hello @lasa ,

I have tried to reproduce your issue and I’m not able to get the same output as the exported secret remain the same for both csv or kdbx.

I would like to know which version of Keepass are you using? Windows, Linux ?

---

<div class="post-metadata">

**Author:** ![lasa](https://avatars.discourse-cdn.com/v4/letter/l/6de8d8/32.png) [@lasa](https://community.passbolt.com/u/lasa)\
**Post date:** [January 8, 2024, 3:10pm UTC](https://community.passbolt.com/t/binary-breaks-kdbx-export/9184/3 "2024-01-08T15:10:20Z")

</div>

Hi,  
I am using keepassxc on Linux.

```auto
$ keepassxc --version
KeePassXC 2.7.6

```

Did you copy the `^U` character into the password field?

For reference my passbolt export csv:

```auto
"Title","Username","URL","Password","Notes","Group"
"test","test","","KvÌûçIE.Qçî","KvÌûçIE.Qçî",""

```

Edit: Please not that there is a invisible character at the end of the password and notes field.

---

<div class="post-metadata">

**Author:** ![Rome](https://avatars.discourse-cdn.com/v4/letter/r/ecae2f/32.png) [@Rome](https://community.passbolt.com/u/Rome)\
**Post date:** [July 13, 2026, 6:53am UTC](https://community.passbolt.com/t/binary-breaks-kdbx-export/9184/4 "2026-07-13T06:53:49Z")

</div>

I see the same error in kdb and kdbx files in both keepass and keepassxc. Has there ever been a resolution? The error I get refers to a line number higher than the file contains, so it is hard to find the conflicting entry.
