# JabRef renaming keys?!

**URL:** <https://discourse.jabref.org/t/jabref-renaming-keys/1900>\
**Category:** Help\
**Created:** [February 5, 2020, 3:00pm UTC](https://discourse.jabref.org/t/jabref-renaming-keys/1900 "2020-02-05T15:00:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![littlered2](https://avatars.discourse-cdn.com/v4/letter/l/d78d45/32.png) [@littlered2](https://discourse.jabref.org/u/littlered2)\
**Post date:** [February 5, 2020, 3:00pm UTC](https://discourse.jabref.org/t/jabref-renaming-keys/1900/1 "2020-02-05T15:00:42Z")

</div>

Hi  
I’m relatively new to JabRef. I am trying to use it to clean up my massive bibliography files. The problem I have is that when I import files from a data base, it is renaming the keys, removing colons. For example, “Chen:2003ava” becomes “Chen2003ava”. The problem is that I have several projects I’m working on with my students where I have insisted that they always use the bibtex key from Inspire so we can avoid erroneously including the same reference twice by accident and this name change completely destroys this system. This also means that I would have to go through and edit every key in files which I am actively editing. There must be some way to suppress this “feature” when importing keys??  
Thanks

---

<div class="post-metadata">

**Author:** ![tobiasdiez](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/tobiasdiez/32/340_2.png) [@tobiasdiez](https://discourse.jabref.org/u/tobiasdiez)\
**Post date:** [February 5, 2020, 3:24pm UTC](https://discourse.jabref.org/t/jabref-renaming-keys/1900/2 "2020-02-05T15:24:30Z")

</div>

I think this can be disabled in the preferences: General \> Disable “Enforce legal characters in the BibTex keys”

---

<div class="post-metadata">

**Author:** ![littlered2](https://avatars.discourse-cdn.com/v4/letter/l/d78d45/32.png) [@littlered2](https://discourse.jabref.org/u/littlered2)\
**Post date:** [February 5, 2020, 3:51pm UTC](https://discourse.jabref.org/t/jabref-renaming-keys/1900/3 "2020-02-05T15:51:20Z")

</div>

That didn’t appear to do it on its own, but it looks like  
Preferences-\>Bibtex Key Generator-\>

- Unchecking “Generate keys for imported entries”
- Checking “Do not overwrite existing keys”
