SourceGuardian Decoder
Online
Decode SourceGuardian-encoded PHP files online. Free preview, no install required.
SourceGuardian · PHP 7.1–8.4 · 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 a supported SourceGuardian PHP file. A 20-line preview is shown when decoding completes without an unresolved license or project-key requirement.
Drag & drop your PHP file
or browse files
Start with your PHP file. If another file is needed, we'll show you what's missing. Maximum 10MB.
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. This ordinary public preview does not use AI-assisted callback recovery; charged, trusted-account, and approved trusted-partner recovery may send supplied context and relevant decoded fragments to our configured third-party model provider. 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 7.1+ to a newer PHP release.
- You're auditing a third-party plugin before deploying it.
SourceGuardian
Decode SourceGuardian files targeting PHP 7.1 through 8.4.
Supported PHP targets
Supported targets: PHP 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2, 8.3, and 8.4.
Readable output
Recovered PHP is formatted for review where structure can be reconstructed; lint and test it before use.
Fast decoding
Routine files usually finish quickly. Uploads are limited to 10 MB; callback-key recovery can take several minutes.
100% online
Nothing to install locally. Uploads are processed server-side in isolated microVMs.
Account download
Download a viewable account result after processing completes.
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
Eligible files show the first 20 decoded lines when processing completes.
- 03
Run the full decode
Purchase credits, process the file, and download a viewable result.
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 & PHP 7.1–8.4
- Viewable results only
Pro
30 credits · $1.97/file
Best default pack for developers.
- 30 file credits
- Web + API access
- Credits do not expire
- SourceGuardian & PHP 7.1–8.4
- Viewable results 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 & PHP 7.1–8.4
- Viewable results 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
Other decoders
Frequently asked questions
What is SourceGuardian?
Can you decode any SourceGuardian-encoded file?
What's the difference between IonCube and SourceGuardian?
Is there a free preview for SourceGuardian files?
What PHP versions does your SourceGuardian decoder support?
How much does SourceGuardian decoding cost?
Can I decode files that were SourceGuardian + IonCube double-encoded?
Is my SourceGuardian file safe when I upload it?
Ready to decode?
Upload a supported file and check whether it qualifies for a preview.
Contact us on Signal