freeWrap 6.62
Released January 4, 2014

Builds stand-alone TCL/TK executables. No compiler required!


Use it as a single-file WISH shell

hosted by:

* 32 and 64-bit versions available *

Major Features

One-step creation of binary executable programs from TCL or TCL/TK scripts
Can be used as a single-file version of TCL/TK
Cross-platform binary program generation
Read and write ZIP archives from freeWrap or your wrapped binaries
Several additional Windows-specific features
No license fees


FreeWrap executables are freely available for 32-bit and 64-bit Linux and Windows operating systems. Instructions and source code for building freeWrap on these platforms are included in the freeWrap source code distribution. See the Downloads table to retrieve these packages.
Included with freeWrap are the tcllib and tklib libraries as well as the Tktable extension.
TCL-only versions of freeWrap are also available for creating binaries from TCL (non-TK) scripts.

Feature Details

The freeWrap program turns TCL/TK scripts into single-file binary executable programs.

The resulting program can be distributed to machines that do not have TCL/TK installed. The executable will also work on machines that have TCL/TK installed but will use its own TCL/TK "image". freeWrap itself does not need TCL/TK installed to run.

The freeWrap program is a TCL/TK script that has been attached to a single-file version of the WISH shell program. The single-file WISH was created with the help of the ZIP Virtual File System (ZVFS) source code provided by D. Richard Hipp. The ZVFS code has been adapted for use with TCL's virtual file system interface.

Easy, one-step wrapping.

FreeWrap consists of a single executable file. There is no setup required. Wrapping is accomplished with a single command.

freewrapTCLSH can be used to wrap TCL-only scripts.

FreewrapTCLSH creates a single executable file from a TCL script. The wrapping syntax is identical to the freeWrap program. This produces a console-only type of program.

freeWrap can be used as a single file stand-alone WISH

Renaming the freeWrap program to some other file name causes freeWrap to behave as a a stand-alone, single-file WISH that can be used to run any TCL/TK script or a freeWrap package containing all the files in your application.

freewrapTCLSH can be used as a single file stand-alone TCLSH shell

Renaming the freewrapTCLSH program to some other file name causes freewrapTCLSH to behave as a a stand-alone, single-file TCLSH shell that can be used to run any TCL script.

Shared libraries can be used with your wrapped programs.

FreeWrapped applications can load TCL/TK shared library extensions that have been compiled with the STUBS interface.

Your wrapped programs can be customized with your own window icons.

The Windows version of freeWrap can incorporate your own customized icon into your wrapped application.

No license fees for wrapped programs.

There are no license fees associated with freeWrap. See the freeWrap documentation for license details.

Cross-platform generation of programs is supported.

The -w "wrap using" option allows cross-platform creation of wrapped applications without the use of the target computer system.

freeWrap includes several Windows-specific commands.

These commands can be used to determine the location of Windows' special directories, easily create file extension associations and shortcuts.

freeWrap includes commands for ZIP file creation and extraction.

Due to freeWrap's use of the ZIP Virtual File System any ZIP archive can be opened so its contents look like a simple file subdirectory. The archive's files are automatically decompressed when read with TCL commands.

The makeZIP command allows creation and modification of ZIP archives from within your freeWrapped application.

History - current revision = 6.62

Changes for version 6.62 (01/04/2014)

  1. This version is based on TCL/TK 8.6.1

  2. This version is built with thread support enabled.

Review all change history

Learn more

Read the freeWrap documentation.


These latest downloads are available from

The distributions contain both 32-bit and 64-bit versions of freeWrap.

Windows executables

freeWrap version 6.62

freeWrap version 6.62 for use with TCL-only scripts

Linux executables


freeWrap version 6.62

Decompress and unTAR this file to install freeWrap 6.62 on Linux.


freeWrap version 6.62 for use with TCL-only scripts

Source code distribution


freeWrap version 6.62 source distribution in compressed TAR format for building 32-bit and 64-bit Linux and Windows programs.

Some previous revisions of freeWrap are also available from the same location:

This page last updated January 4, 2014

Send comments to