List of code validation tools

JSON Validator

Validates a JSON string against RFC 4627 (The application/json media type for JavaScript Object Notation) and against the JavaScript language specification. You can configure the validator to be lenient or strict.

Features
  • No limit on the size of the JSON string/file to validate
  • Validates your JSON string/file against RFC 4627 in either strict or lenient mode
  • Validates your JSON string/file against the JavaScript specification

HTML Validator

Validates the HTML string/file for well-formedness and compliance with w3c standards. It tries to make use of the doctype declaration to evaluate the document structrue but will resort to best practice if unmatched. The validator will report on missing or invalid attributes, unknown tags, unclosed tags and more.

Features
  • No hard limit on the size of the HTML string/file to format
  • Validates your HTML string/file using the doctype if possible or the 'best practices' if not
  • Checks for invalid tags, missing or invalid attributes, unclosed markeup and much more

XML Validator

Validates the XML string/file against the specified XSD string/file. XSD files are "XML Schemas" that describe the structure of a XML document. The validator checks for well formedness first, meaning that your XML file must be parsable using a DOM/SAX parser, and only then does it validate your XML against the XML Schema. The validator will report fatal errors, non-fatal errors and warnings. You can select between the W3C XML Schema standard or RELAX NG.

Features
  • No hard limit on the size of the HTML string/file to format
  • Validates your XML string/file using the provided XSD string/file

XSD Generator

Generates an XSD (XML Schema) from a XML file. Simply copy-paste your XML document and let the generator figure out the rest! The generator uses a Russian-Doll approach. The Russian-Doll design mimics the document structure meaning that elements within other elements are declared locally instead of global-reusable scope. The generator will not try to generate xs:enumeration since it's too error prone. Also, instead of generating xsd:string types, the generator will try to use a 'smart' approach to figure out the data type.

Features
  • No hard limit on the size of the HTML string/file to format
  • Uses a Russian-Doll design
  • Uses 'smart' data types instead of plain xs:string types
  • Doesn't restort to xs:enumeration for values