Mr Data Converter is a free tool available under the MIT licence. It takes CSV or tab-delimited data from Excel and converts it into several web-friendly formats, include JSON and XML.
There is a demo page at
http://www.shancarter.com/data_converter/index.html
The source is available at
https://github.com/shancarter/Mr-Data-Converter