
Prepare a Python project for conversion to a Windows EXE with PyInstaller. Upload or paste your main Python script, review detected dependencies, choose build options, and download a ready-to-run Windows build kit.
PyInstaller must run on Windows to create a Windows executable. The generated kit includes your script, requirements, build command, build.bat, and an optional .spec starter file.
1. Python source
Upload the main .py file or paste the source code.
2. Import analysis
Review likely third-party packages before generating the build.
Standard library
These normally do not belong in requirements.txt.
Likely dependencies
Detected imports that may need installation before building.
3. Build settings
Configure the PyInstaller command used by the Windows build kit.
The source file name inside the downloaded build kit.
The generated executable will use this name.
One-file is easier to share; one-folder often starts faster and is easier to debug.
Use GUI mode for Tkinter, PyQt, PySide, CustomTkinter and similar apps.
Windows icon
Optional. Upload an ICO file and it will be included as app.ico in the build kit.
Advanced dependency options
Useful when PyInstaller cannot see imports that happen dynamically.
One module per line or comma-separated.
Collects package submodules, data files and binaries.
Useful for excluding unused optional frameworks.
Bundled data files
Optional images, JSON, databases or other files your application needs at runtime.
Uploaded assets are placed in an assets folder in the build kit. The destination controls where PyInstaller places each file inside the bundled application.
4. Generated build files
Review, copy, download individual files, or download the complete ZIP kit.
Source analysis and file generation happen locally in your browser. Your Python code is not uploaded. Dependency detection is heuristic: local modules and some PyPI package names cannot be identified with certainty from source code alone.
Transform your Python scripts into standalone executable files with a practical local build workflow.
Real Python to EXE Conversion Tools
For actual Python to EXE conversion, these established tools run on your computer and create the executable locally.
auto-py-to-exe (Recommended for Beginners)
View on GitHub →Desktop app with a graphical interface. It provides buttons and menus for configuring a PyInstaller build instead of requiring you to type every command manually.
pip install auto-py-to-exeType: Desktop app with visual interface
PyInstaller (Most Popular)
Official Website →Command-line packaging tool that bundles a Python application and its dependencies into a distributable program. It works with many widely used Python packages and libraries.
pip install pyinstallerType: Command-line tool — requires terminal or command prompt
cx_Freeze
Documentation →Cross-platform alternative for creating standalone executables from Python scripts on supported operating systems.
pip install cx_FreezeType: Command-line tool — requires terminal or command prompt
Which Tool Should You Choose?
Use auto-py-to-exe — it provides a visual interface with buttons and menus.
Use PyInstaller — it is widely used, flexible, and well documented.
Try cx_Freeze as an alternative packaging tool.
About Python Files and Executables
Python Files (.py)
Python files (.py) contain human-readable source code written in the Python programming language. In a normal setup, these files require a compatible Python interpreter and any required packages to be installed on the computer before the program can run.
Executable Files (.exe)
Windows executable files (.exe) can be launched directly by the user. Packaging tools such as PyInstaller can bundle a Python application with the Python runtime and required dependencies so the finished application can run on a Windows computer without requiring the user to install Python separately.
