OpenKeyval – Instant & Web-Based Database For Any Project

Today, while many websites have a database for storing the content, settings, etc., many others are static and don't use anything to keep the data as they are hard-coded in HTML.

For such websites, we may still want/need to store several things and OpenKeyval provides us that opportunity without setting up a database like MySQL, MSSQL.

It is a free (also open source) and web-based database service that doesn't require any registration and can be used instantly.


We simply send a POST request to store any data (with a unique prefix of our preference), can request or delete it anytime and responses comes in a JSON format.

Also, like mentioned, OpenKeyval is open source. It is built with PHP and anyone can host their own instance.

P.S. The only limitation of the service is the size of each key which is 64kb.

  1. Reply Austin August 31, 2012 at 10:27 AM

    I am left wondering….. Why?

    I guess this could be useful for a static site. It seems like an easy way to ajaxify.

    Still, wouldn’t latency be a concern?

  2. Reply Umut M. September 2, 2012 at 8:14 AM


    Actually, what I liked most about the project is its being web-based and the possibility to using the same datasource for multiple websites on different hosts (without dealing any disabled remote SQL connections, etc.).

    For latency, self-hosting a version can be a solution but I agree with you.

    Another great feature would be creating a non-editable/deletable key which would secure the usage via JavaScript.

  3. Reply Chris Ho-Stuart November 5, 2012 at 3:17 PM

    I love this idea. It is an amazingly simply straightforward tool that can be used in all kinds of ways to provide a little bit of “state” based behaviour to any website, without needing to have your own database server.

    Thank you very much!

    It would be nice to have a simple feature to help support concurrency control. The non-editable/deletable key idea would be handy for that; as would letting the callback from setting a value include the old value.

Leave a reply