Checks the validity of your TMX files
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

alt text


Check the validity of your TMX documents in any platform with TMXValidator.

Source code of TMXValidator is available under Eclipse Public License 1.0.

Most CAT (Computer Aided Translation) tools rely on TMX (Translation Memory eXchange) standard to exchange translation memory data. Unfortunately, some tools produce files that are not valid and others do not accept TMX documents that are correctly formatted.

TMXValidator checks your documents against TMX DTD and also verifies if they follow the requirements described in TMX specifications.

TMXValidator supports TMX versions 1.1 , 1.2 , 1.3 and 1.4

Source code of TMXValidator was published originally on SourceForge at

The original version of TMXValidator loaded the TMX file in memory for validation. Validation of very big TMX files was limited by the amount of available memory.

This version of TMXValidator does not need to load the complete file in memory and does not have size limitations.

Build Requirements

  • JDK 11 or newer.


  • Checkout this repository.
  • Point your JAVA_HOME variable to JDK 11
  • Use buid.bat or to generate a binary distribution in ./tmxvalidator

Validating TMX files

You can use the library in your own Java code. Validation of TMX files is handled by the class com.maxprograms.tmxvalidation.TMXValidator.

If you use binaries from the command line, running .\tmxvalidator.bat or ./ without parameters displays help for TMX validation.


   tmxvalidator.bat [-help] [-version] -tmx tmxFile


   -help:       (optional) Display this help information and exit
   -version:    (optional) Display version & build information and exit
   -tmx:        TMX file to validate

Graphical User Interface (GUI)

Installers that provide a graphical user interface (GUI) for TMXValidator are available at

alt text