Skip to main content

Overview

Godot supports exporting to all major desktop platforms: Windows, macOS, and Linux. Desktop exports provide the best performance and access to native platform features.

Supported platforms

  • Windows 7 and later
  • 32-bit and 64-bit builds
  • DirectX 11/12 or Vulkan rendering
  • Native executable (.exe)

Windows export

Creating Windows preset

  1. Go to Project > Export
  2. Click Add… and select Windows Desktop
  3. Configure settings

Export Windows build

Windows icon

Create a .ico file with multiple sizes:

Code signing (Windows)

Sign your executable for Windows SmartScreen:
Code signing requires a certificate from a trusted Certificate Authority for production releases.

Windows installer

Create an installer with Inno Setup:
Compile installer:

macOS export

Creating macOS preset

  1. Go to Project > Export
  2. Click Add… and select macOS
  3. Configure settings
macOS export requires a Mac for code signing and notarization. You can export unsigned builds on any platform, but they won’t run properly on macOS without signing.

macOS icon

Create .icns file:

Code signing (macOS)

Notarization (macOS)

Required for macOS 10.15+:

Create DMG installer

Linux export

Creating Linux preset

  1. Go to Project > Export
  2. Click Add… and select Linux/X11
  3. Configure settings

Export Linux build

Linux desktop entry

Create .desktop file for desktop integration:

Package for Linux

Cross-platform considerations

File paths

Platform detection

Native dialogs

Steam integration

Integrate with Steam (using GodotSteam):

Distribution

Steam

  1. Register Steamworks account
  2. Create app in Steamworks
  3. Upload builds using SteamPipe
  4. Configure store page
  5. Submit for review

GOG

  1. Apply to GOG as developer
  2. Submit game for curation
  3. If accepted, use GOG Galaxy SDK
  4. Build with GOG pipeline

itch.io

Epic Games Store

  1. Apply to Epic Games Store
  2. Integrate Epic Online Services
  3. Submit build through Epic Developer Portal

Performance optimization

Use appropriate renderer

Forward+ for high-end, Mobile for broader compatibility.

Profile regularly

Use built-in profiler to identify bottlenecks.

Optimize assets

Compress textures, optimize meshes, reduce shader complexity.

Multi-threading

Use threading for heavy operations outside render loop.

Launch options

Handle in code:

Troubleshooting

Install required libraries:
App needs to be code signed and notarized for macOS 10.15+.
Code sign with a trusted certificate to avoid SmartScreen warnings.

Next steps

Android

Export for Android devices

iOS

Export for iOS devices

Web

Export for web browsers