Set your spreadsheet data free »
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 87 commits ahead of shancarter:gh-pages.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
favicons
images
js
.gitattributes
LICENSE.md
README.md
build-mrdataconverter.bat
index.html

README.md

Description

Mr. Data Converter takes CSV or tab-delimited data from a spreadsheet such as Excel and converts it into several web-friendly formats, including JSON and XML. Use it online here: http://thdoan.github.com/mr-data-converter/

Modifications to Shan Carter's version

  • [Enhancement] added safe header names option
  • [Enhancement] added Trac output type (thanks Rednox)
  • [Enhancement] added C# output type (DataTable)
  • [Enhancement] added ColdFusion output type
  • [Enhancement] added Go output type
  • [Enhancement] added Lua output types (Dictionary Table, Array Table)
  • [Enhancement] added Markdown output type
  • [Enhancement] added Perl output type
  • [Enhancement] added Rich Text Format (RTF) output type
  • [Enhancement] added Wiki output type
  • [Enhancement] added YAML output type
  • [Enhancement] added auto-select on input focus
  • [Enhancement] added input auto-focus on page load
  • [Enhancement] added output auto-select on menu selection (conversion)
  • [Enhancement] added "Loading..." status for right panel
  • [Enhancement] added CSVParser.escapeText() to convert common punctuation marks, symbols, and diacritics into HTML entities for HTML and XML outputs
  • [Enhancement] added favicons (mobile and desktop)
  • [Enhancement] added HTML class name format option
  • [Enhancement] overhauled CSS to make layout fluid (no need for 'resize' event handler)
  • [Enhancement] improved formatting for HTML class names
  • [Enhancement] improved indentation for various output types when whitespace is enabled
  • [Enhancement] replaced 'Null' with 'Empty' in ASP / VBScript
  • [Enhancement] removed 'useUnderscores' option (unused)
  • [Enhancement] removed ActionScript output type as it was redundant with JSON Properties
  • [Enhancement] compressed images and optimized code
  • [Enhancement] JS files now combined and minified
  • [Fix] unchecking "Include whitespace" option resulted in invalid ASP/VBScript output
  • [Fix] invalid column headers for some output types
  • [Fix] column headers containing spaces resulted in invalid key name for ActionScript, incorrect class name for HTML, invalid MySQL definition, invalid attribute name for XML Properties, and invalid tag names for XML Nodes and XML Illustrator
  • [Fix] floats without a leading zero were flagged as 'int'
  • [Fix] some numbers with a leading zero (e.g., Australia postal code 0800) were not quoted, which resulted in invalid JSON
  • [Fix] empty fields were outputted as null instead of ""
  • [Fix] JSON Array of Columns, JSON Array of Rows, and JSON Dictionary not outputting null values
  • [Fix] tool breaking on non-quoted fields containing double quotes when pasting directly from Excel
  • [Fix] text containing double quotes were not escaped in ActionScript, ASP/VBScript, JSON (all types), PHP, Python, Ruby, and XML Properties output
  • [Fix] text containing single quotes (apostrophes) were not escaped in MySQL output
  • [Fix] data comprising one empty column with header outputs nothing
  • [Fix] wrong output when arriving after hitting Back button
  • [Fix] incorrect delimiter detection when set to Auto in some cases
  • [Fix] incorrect HTML output when first row is not the header

Future plans

  • Add more output types
  • Add more formatting options for output