KB Labs

KB Labs was established in 2016 by the IT development department at the Royal Danish Library. The goal of KB Labs is to find new ways to combine the library’s digital cultural heritage collections and research with the newest methods within machine learning. The tools are developed in close collaboration with Danish and international researchers to ensure high quality tools with a high level of relevance for their users.

Learning Resources

Services and tools

Experiment with the innovative tools from areas such as visualisation, data set and machine learning.


Check out the tutorials for the services and tools from KB Labs to help ease your work.


Be inspired by our case on the Cultural Heritage Cluster (coming soon).


Keep an eye out for events organised by KB such as data sprints.

Selected tools

Smurf visualises how use of language in Danish newspapers has evolved since the 18th century (beta).

Word2Vec is a high-dimensional word embedding based on an unsupervised machine learning algorithm using a simple neural network (beta).

LOAR (Library Open Access Repository) is an open access repository for long term preservation of research data.

MeLOAR is a search engine for large scientific datasets. The tool uses data from LOAR.


“SMURF is an excellent tool for accessing more than two hundred years of language use in Danish newspapers. It’s easy to use, and it provides robust results, whether you are interested in the long lines of conceptual development or in specific events in history.”
Mads Rosendahl Thomsen, Professor, Comparative Literature, Aarhus University


“KB Lab’s Word2Vec tool is well suited for workshops in proto discourse analysis and conceptual history in university teaching at undergrad levels.”
Katrine Frøkjær Baunvig, Associate professor, Director at The Grundtvig Study Centre, Aarhus University


“With this resource being easily accessible, we can expect future research to a much greater extent to be based on newest evidence.”
Jens-Bjørn Riis Andresen, Associate professor, Archeology and Heritage Studies, Aarhus University

Inspirational and useful applications

At KB Labs, we seek to develop new inspiring tools for researchers and students as well as the everyday user to create alternative ways of interacting with the vast amount of digital data the library possess. We experiment with different tools and data to figure out which data we can use, what we can do with it, and how it can contribute to the users of the library, researchers, students and the public in general.

At labs.kb.dk, you will find different applications made by the Royal Danish Library to visualise, engage or display the different materials or collections that are available at the library to inspire and deepen the knowledge of what collections the library actually has. This will hopefully expand the use of these collections.

Do you have any questions or comments? Or do you wish to join the community?

Please contact community lead Katrine Hofmann Gasser, section manager at The Royal Danish Library.