JSDB     Home    License    Download    Tutorial    Reference    Projects    Feedback    History

About JSDB
 Get help

 Using ActiveX

 JSDB reference
 JavaScript Guide
 JavaScript Reference

Hackers guide
 Get the book

"As a general-purpose scripting environment I have found JSDB ... to be a superbly powerful and extensible environment for managing batch tasks."A. M.

JSDB is JavaScript for databases, a scripting language for data-driven, network-centric programming on Windows, Mac, Linux, and SunOS. JSDB works with databases, XML, the web, and email. It is free and open-source. Use it as a JavaScript shell, to run CGI programs, or as a web server.

Start here

Download JSDB for Windows or Linux (x86), or Linux (x86, no ODBC), or Mac OS X (x86), or compile the source code.


  1. Bookmark the help page.
  2. Click here, and follow along.
  3. Re-introduce yourself to JavaScript.
  4. Join the JSDB group on Google
  5. Play around with a web user interface or grid programming.

May 17, 2012
  • Version
  • Changelog

  • Cool stuff
  • Grid programming toolkit
  • Web user interface toolkit
  • Personal wiki
  • Learn more

    1. Read the Tutorial, study the Cookbook, or hack the source.
    2. Try the web-baseed remote debugger.
    3. Get involved! Read the release notes! Send me something cool you wrote!

    For 17 years, I have been building a powerful, robust C++ class library to support my commercial electronic form software. But I wanted something more flexible than compiled code — something that would let me improvise quick solutions, without all the hassle of setting compiler options. It would have to be self contained, capable of running with no DLLs or libraries to worry about. I scoured the internet, but I couldn't find anything that would fit the bill. I was afraid that I would have to write my own computer language — until I discovered Mozilla's JavaScript! It's open-source, has generous license terms, and is actively maintained by the language's inventor, Brendan Eich. This led me to create JSDB®, an interactive JavaScript interpreter, extended with powerful data-manipulation tools.

    JSDB® uses the same language interpeter as FireFox (including E4X) to give you high-level control over powerful classes for databases, email, networking, and XML. Now, without ever firing up my compiler, I can write simple (and even complex) programs in 1/10th the time it used to take me with C++! I'm thrilled with JSDB, and I want to share it with you. It's open source, it's free to download, and it's unencumbered by IP claims. And I've just added a powerful graphical debugger to make it even easier to write network-centric programs with JSDB. I hope you like it!

    Shanti Rao


    JSDB® is a JavaScript shell designed with network-centric programming in mind. It can be used as a database interface, XML processor, and internet-oriented scripting language. JSDB can do nearly any batch processing task that Visual Basic can do, and it has drivers to let you read and send email, query a MySQL database, and run regular expression searches, without having to learn a specific SQL syntax or install a bunch of ActiveX components. JSDB has everything you need to write a web server or database middleware, with a graphical debugger, itself written in JSDB.


    A bulk mailer, using a desktop web GUI. Visual, customizable, remote debugger

    What is it?

    JSDB is based on Mozilla SpiderMonkey and class libraries developed by Raosoft, Inc. The open-source version is free with fairly generous license terms. Additional functionality or even less restrictive license terms may be purchased from Raosoft, Inc.

    JSDB can treat any DBF/xBase, ASCII, Oracle, Sybase, DB/2, Postgres, MySql, Access, or Microsoft SQL Server table equivalently, translating high-level (set(row,field,value), get(row,field)) function calls to database-specific SQL commands. The same applies to email: you can communicate with Lotus Notes, Exchange (MAPI), and SMTP/POP3 mail systems interchangably with a single set of function calls.

    JSDB also includes a stream object that gives you a common interface to files, COM ports, sockets, HTTP, pipes, and memory. The ability to treat memory as if it were a file helps you write reusable code that is easily adapted to a variety of situations.

    For writing distributed XML web applications, JSDB comes with an Internet server component and an XML parser, both implemented in a balance of C++ and JavaScript for optimum speed and flexibility.

    You might use JSDB to:

    It includes a simple and fault-tolerant XML parser library, and a specialized parser for EFS forms used by Raosoft's EZSurvey and InterForm programs.


    You can download JSDB and use it for free. You can give it to a friend, and she can use it for free, too. You can even sell JSDB, but check the license terms first. To show your gratitude, please contribute your own useful or thought-provoking creations to the public domain. JSDB is based on the public-spirited contributions of many people who believe in sharing.


    JSDB is a registered trademark of Shanti Rao. Raosoft is a registered trademark of Raosoft, Inc. The name JSDB may only be used to describe the software downloaded from this web site. Any alterations, including embedding in other programs, may not be called JSDB without the prior written permission of Raosoft, Inc.

    JSDB has no warranty, express or implied. Don't use it for medical devices or avionics.

    JSDB is subject to certain license terms which apply if you redistribute it in whole or part (including derived works). Contact us to purchase a CD with less restrictive license (for bundling with a closed-source product, for instance) from Raosoft, Inc. Prices are reasonable, starting at $50.

    Please see the license for warranty and limited liability statements.

    Get JSDB

    Click here to download JSDB and start exploring today!