CFG Generator - Create Custom Autoexec Files

Create and customize your CS2 autoexec.cfg file with our free CFG generator. Combine commands and binds from across the site, edit values in real-time, and download your personalized config file.

CFG Editor

Use the editor below to view, edit, and download your custom CS2 config file. All changes are saved automatically in your browser, so you can come back anytime to continue editing.

You can also click the "Share" button to generate a shareable URL for your config file. No more saving this file in a random google drive / usb stick for when you go to a LAN tournament.

Tips for Creating Your CS2 Config

  • Start with essentials: Begin with basic commands like crosshair settings, viewmodel, and network settings.
  • Add binds gradually: Test each bind individually to ensure it works as expected before adding more.
  • Use comments: Add comments (lines starting with //) to organize your config and remember what each section does.
  • Backup your config: Save a backup of your working config before making major changes.

How to Use the CFG Generator

Follow these simple steps to build your custom CS2 config file:

Step 1: Browse Commands and Binds

Visit any command or bind page on our site. Each command and bind has an "Add to CFG" button that allows you to add it to your config file.

Step 2: Add Commands to Your CFG

Click the "Add to CFG" button on any command or bind you want to include. The command will be automatically added to your CFG generator with helpful comments marking where it starts and ends.

Step 3: Edit and Customize

Use the editor below to modify your config file. You can:

  • Edit command values and key bindings
  • Add custom comments to organize your config
  • Remove or rearrange commands
  • Test different configurations

Step 4: Download Your Config File

Once you're satisfied with your configuration, click the "Download" button to save your autoexec.cfg file. Place this file in your CS2 config directory to start using your custom settings.

Step 5: Share Your Config File

Click the "Share" button to generate a shareable URL for your config file. No more saving this file in a random google drive / usb stick for when you go to a LAN tournament.