SMX Decompiler

SMX Decompiler Online

Decompile SourceMod SMX plugins back to SourcePawn source code.

.smx
Drop your SMX file here
Choose file

⚠ Drag-and-drop upload could not load — an ad blocker is most likely blocking it. Please disable your ad blocker and reload the page to upload a file.

How It Works

1

Upload

Drag and drop your .smx file or click to browse.

2

Decompile

SourcePawn bytecode is converted to readable source code.

3

Browse

View the recovered SourcePawn code in your browser.

What is SourceMod?

SourceMod (SM) is a server modification framework for games built on Valve's Source engine. It allows server administrators to extend game functionality through plugins written in SourcePawn. SourceMod has a massive community with thousands of plugins available for games like Counter-Strike, Team Fortress 2, and Left 4 Dead.

SourceMod plugins can modify nearly every aspect of a game server: custom game modes, admin commands, player statistics, anti-cheat measures, map voting, weapon modifications, and much more.

What is an SMX File?

An SMX file is the compiled binary format for SourceMod plugins. When a SourcePawn script (.sp file) is compiled using the spcomp compiler, it produces an SMX file containing:

SourcePawn Language

SourcePawn is a C-like scripting language designed specifically for SourceMod. It features:

Common Uses for SMX Decompilation

Source server administrators can also recover editable map geometry with the Source BSP to VMF decompiler.

Frequently Asked Questions

What is an SMX file?

An SMX file is a compiled SourceMod plugin containing SourcePawn bytecode. SourceMod is a modding framework for Source engine games like Counter-Strike and Team Fortress 2.

What is SourcePawn?

SourcePawn is a C-like scripting language for writing SourceMod plugins. It compiles to SMX bytecode and has support for handles, natives, forwards, and other SourceMod-specific constructs.

What games use SourceMod?

SourceMod runs on Source engine game servers: Counter-Strike: Source, CS:GO, Team Fortress 2, Left 4 Dead 2, Day of Defeat: Source, and Half-Life 2: Deathmatch.