Chem Balancer

A simple way to balance chemical equations using antlr4.

This project is maintained by MichaelSnowden

Chem Balancer

Chem Balancer is just a simple way to balance chemical equations online. There's an online front-end, downloadable source code, as well as a public API.

Accessing the online front-end

Just go to this website.

Using the API

Check out the source code of this example client.

Send a GET request to https://chem-balancer.herokuapp.com/solve with the parameter equation set to a string containing a valid equation that follows this grammar.

$.get("https://chem-balancer.herokuapp.com/solve", {"equation": $("#equation").val()}, function (data) {
    $("#answer").text(data);
});

Authors and Contributors

Michael Snowden (@MichaelSnowden)