SourceGuardian Decoder
Online
Decode SourceGuardian-encoded PHP files online. Free preview, no install required.
10,000+ files decoded · 99.9% success rate · Free preview available
1<?php2if(!function_exists('sg_load')){3 $__v=phpversion();$__x=explode('.',$__v);4 die('This file was protected by5SourceGuardian. The SourceGuardian Loader6(ixed.'.$__x[0].'.'.$__x[1].') is not7installed. Please visit sourceguardian.com8to download the required loader.');9}10return sg_load('9E1A2B4C0D8F73AC41B2');11?>12Ur4+bXhNQlVMOHl2c2RLbEd3T3F6QW5j13K2R5bkxtVnBSaGpFYUZiSWNVdE94QXNn14ZUhrYlBmdEp3UWl6WG9WcU1kTnJTeUxn15cUF6c2VIa2JQZnRKd1FpelhvVnFNZE5y1<?php23function invoice_settings($v1 = null) {4 if ($v1 === null) {5 return get_option("acme_invoice");6 }7 return get_option("acme_invoice")[$v1];8}910function invoice_log($v1 = null, $v2 = "info") {11 $v3 = new Acme_Invoice_Log();12 $v3->write($v2, $v1);13 return $v3;14}1516function invoice_load_textdomain() {17 load_plugin_textdomain("acme-invoices", __DIR__);18 return;19}Free Preview
Upload any SourceGuardian-encoded PHP file and preview the decoded output instantly. No registration required.
Only upload files you own, are authorized to analyze, or are lawfully permitted to recover, migrate, audit, or interoperate with. Do not upload third-party proprietary software without permission. See Terms.
Decode SourceGuardian-encoded PHP files online
SourceGuardian is the older sibling of IonCube — a commercial PHP encoder that compiles source into an encrypted bytecode format. Running a SourceGuardian file requires the SourceGuardian Loader extension on the server, which makes these files just as opaque as IonCube files if you need the underlying source.
DecodePHP decodes SourceGuardian files alongside IonCube, using the same upload-preview-buy workflow. The output is clean, readable PHP source that runs without the SourceGuardian Loader.
SourceGuardian vs. IonCube
- Adoption. IonCube is more widely used, but SourceGuardian has a long tail of legacy and niche commercial scripts — particularly European billing systems and some WHMCS modules.
- Obfuscation scheme. Different from IonCube. A decoder built for one cannot read the other's output.
- Loader. SourceGuardian requires its own loader extension, not IonCube's.
- License locking. Both support domain/IP/MAC locking. DecodePHP strips these during decoding.
When you need a SourceGuardian decoder
- You bought a paid PHP script and need to modify it.
- You inherited a codebase and lost the original source.
- You're migrating a legacy app from PHP 5.x or 7.x to PHP 8.x.
- You're auditing a third-party plugin before deploying it.
SourceGuardian (all versions)
Every SourceGuardian build we've seen in commercial PHP scripts — we update when new encoder versions ship.
PHP 7.1–8.4
Every PHP version covered: 7.1, 7.2, 7.3, 7.4, 8.1, 8.2, 8.3, and 8.4.
Clean output
Properly formatted, readable code with preserved structure and formatting.
Fast decoding
Most files decoded in under 30 seconds. Optimized for files of any size.
100% online
Nothing to install. Works in any browser, on any device, anywhere.
Instant download
Download decoded files immediately after processing. No waiting.
How it works
Three steps to decoded source
- 01
Upload your file
Drag and drop your SourceGuardian-encoded PHP file or click to browse.
- 02
Preview the output
See the first 20 lines of decoded code instantly to verify quality.
- 03
Download the full file
Purchase credits and download the complete decoded source code.
Credit packs
Buy once and decode anytime. Web and API access are included.
Starter
3 credits · $6.33/file
Entry pack for a few one-off files.
- 3 file credits
- Web + API access
- Credits do not expire
- SourceGuardian (all versions) & PHP 5.x–8.x
- Successful decodes only
Pro
30 credits · $1.97/file
Best default pack for developers.
- 30 file credits
- Web + API access
- Credits do not expire
- SourceGuardian (all versions) & PHP 5.x–8.x
- Successful decodes only
Enterprise
150 credits · $1.33/file
High-volume pack for teams and agencies.
- 150 file credits
- Web + API access
- Credits do not expire
- SourceGuardian (all versions) & PHP 5.x–8.x
- Successful decodes only
Custom
150+ credits · custom volume
Larger volume, special handling, or custom terms.
- 150+ file credits
- Web + API access
- Custom volume pricing
- Priority handling options
- Email support
Secure crypto payments · Bitcoin, Ethereum, Litecoin, Monero, USDT