version 0.8.0

Yann Mérignac (

data2pas is a command line tool to convert text or binary data into pascal constants. It takes in entry a text file describing the data and outputs one or more pascal file that you can include in your own source code. It’s a tool similar to data2inc but using a more ‘pascalish’ syntax.



This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <>.


Documentation for the latest version is available in the following formats:


v0.8.0 (29/07/2015)

 - Improved: command line check
 - Fixed: indent value is now limited in range [1..40]
 - Fixed: width value is now limited in range [40..1024]
 - Added: build scripts for rpm, txz, tar.gz, win32 zip

v0.6.0 (25/05/2015)

 - Added comment in generated files
 - Added ResourceString data type

v0.4.2 (02/06/2014)

 - data2pas now generates correct include file for empty data
   description files
 - Added wildcard expension support for windows

v0.4.0 (22/05/2014)

 - Added option --indent
 - Added option --width
 - Added option --output-dir

v0.2.4 (03/03/2014)

 - License changed to GPL v2+
 - Added spec file for rpm

v0.2.2 (25/02/2014)

 - First release