Free tool

Website Malware Scanner

Scan your website files for known malware tricks. Drop in your theme, plugin or whole site folder, or paste a piece of code, and see which files hide a payload, act as a web shell, pose as images, load hidden iframes, inject spam links, mine coins or redirect visitors. Decode hidden layers, compare what Googlebot sees with what visitors see, list every outside domain, and follow a clean-up checklist. Everything is read in your browser and nothing is uploaded or run.

  • Files stay in your browser
  • Decoder and cloaking test
  • Clean-up checklist, free

This is a pattern scanner. It finds well-known tricks in files you give it, so it can miss new or custom malware and it can flag harmless code. It does not scan a live site by itself, and a clean result is not a guarantee.

A hacked website rarely announces itself. Visitors get redirected to spam, Google shows a red warning, your host suspends the account, or your pages fill up with links to pills and casinos that you never wrote. By then the attacker has usually been inside for weeks. This Website Malware Scanner reads your site files, or any piece of code you paste, and tells you in plain words which ones hide a code block, act as a remote-control backdoor, pretend to be images, load hidden frames, inject spam or redirect visitors. It also decodes hidden layers, compares what Googlebot sees with what visitors see, and walks you through a clean-up. It is free, runs in your browser and needs no signup.

Quick answerOpen the Scan tab, drop in your theme, plugin or site folder (or paste a suspicious file) and read the risk card. Red files are likely malicious, yellow files are suspicious. Open a file to see the exact line, why it matters and what to do. Nothing is uploaded and nothing is run.

It can

  • Find remote-control backdoors and hidden code blocks
  • Catch code hidden in fake images
  • Decode base-64, compression and other layers
  • Spot cloaking and spam injection

It cannot

  • Scan a live site by itself
  • Find brand-new custom malware
  • Prove that a site is clean
  • Remove malware for you

Best for

  • WordPress and PHP site owners
  • Checking a theme or plugin before use
  • Agencies and freelancers
  • First look after a hack

What this Website Malware Scanner does

Most website malware is a few lines of code added to a file you already have, or a new file dropped in a folder where nobody looks. The code has a job: let the attacker back in, send visitors somewhere else, steal data, or place links for search engines.

The scanner looks for the habits of that code. It checks each file against more than forty patterns, such as decode-and-run tricks, commands that come from a web request, hidden frames, hidden links, crypto miners, payment skimmers and rewrite rules that send search visitors away. It also looks at file names and places: a PHP file in the uploads folder or a photo with code inside is a strong sign of trouble.

What is website malware?

It is any code on your site that you did not put there and that works against you or your visitors. The common kinds are backdoors (remote-control backdoors), redirect and phishing code, SEO spam, crypto miners and card skimmers.

How a hacked site works, and what the scan looks at

Attackers usually get in through an out-of-date plugin, a weak password or a pirated theme. Then they leave a backdoor, so they can come back even after you change the password. From the backdoor they add the code that does the damage. The scanner checks all three places.

How a website gets infected and what the scanner checks Three steps from left to right. First, an attacker gets in through a weak plugin or password. Second, they leave a backdoor file. Third, they add harmful code that redirects visitors, adds spam links or steals data. A dashed box below shows that the scanner checks files, names and hidden code at each step. 1. Way in2. Backdoor3. The damage Old plugin, weakpassword or apirated theme. A small file or a fewlines that let theattacker return. Redirects, spam links,miners or stolencard data. What the scanner checks Odd file names and placesCode in uploads, fake imagesHidden and encoded codedecode-and-run, backdoors, packersVisible harmhidden frames, links, miners

Removing only the damage in step 3 is not enough. If the backdoor in step 2 stays, the infection comes back.

How to use it step by step

  1. Get the files. Download your site folder with FTP or your host’s file manager. For a WordPress site, the content folder (themes, plugins, uploads) and the htaccess file matter most.
  2. Add them to the Scan tab. Drop the files, or press Choose folder. You can also paste a single file into the Or paste code box.
  3. Type your domain. It is optional. It lets the tool tell your own links from outside ones.
  4. Read the risk card and the file list. Files with the highest score come first. Open one to see the line, the reason and the advice.
  5. Decode anything strange. Press Open in Decode tab, then Unwrap automatically, to see what a hidden string really contains.
  6. Check for cloaking. Save your home page as a visitor and as Googlebot (the Get tab has the commands), then paste both in the Compare tab.
  7. Clean up. Follow the list in the Clean tab, then scan again.
Try itPress Load example in the Scan tab. It loads a small made-up site with a hidden code block in a theme file, a fake image, a remote-control backdoor in uploads, a bad htaccess, a hidden frame and a miner. All of it is harmless sample text.

What the findings mean

FindingIn plain words
Hidden code blockCode that decodes a secret string and runs it. Real plugins almost never do this.
Remote-control backdoorA file that lets an attacker run commands on your server through a web request.
Code in an imageA file named like a photo that holds program code, made to slip past upload checks.
Code in uploadsUploads should hold pictures and documents. A PHP file there is a red flag.
Hidden frameA frame you cannot see that loads another site, often to attack visitors.
Hidden linksLinks placed off-screen for search engines. Typical SEO spam.
CloakingShowing search bots or visitors from Google a different page than the owner sees.
Miner or skimmerCode that mines coins in visitors’ browsers, or reads card details and sends them away.

What you can do with it

  • Scan many files. Drop files or a whole folder, up to 400 files. Each gets a score and a verdict.
  • Understand every hit. The matching line, why it is a problem and what to do, in plain words.
  • Cut false alarms. If a rule hits code you know is fine, press Ignore this rule. Your choice is kept on your device.
  • Look up file hashes. Each file gets a SHA-256 hash with a link to look it up. Only the hash is sent, never the file.
  • Decode hidden code. Base-64, compression, letter-shift, hex, character codes and escapes, peeled layer by layer.
  • Test for cloaking. Compare two versions of a page and see which scripts, frames, links and forms differ.
  • List outside domains. Every domain, IP, email and wallet the files mention, with risky ones marked and a defanged copy for tickets.
  • Get the commands. Ready download, search and WP-CLI commands for your domain, plus links to live scanners.
  • Follow a clean-up list. Fourteen steps with tick boxes that are saved on your device.
  • Export a report. Text, Markdown or JSON, with no file contents inside.

How malware hides its code

Scanners look for known words that run code, so attackers wrap those words in layers. The code is turned into base-64 text, compressed, scrambled with letter-shift, and finally run with a single short call. Each layer makes the code look like random letters. The Decode tab removes the layers one by one, in the open, without running anything.

Layers that hide malicious code Four nested rectangles. The outer one is a short run command. Inside it is an encoded text layer, then a compressed layer, then at the centre the real harmful code. An arrow on the right shows the decoder removing the layers from outside to inside. 1. Short run command2. Encoded text (base-64)3. Compressed data 4. The real code The decoder removes each layershows the resultscans it againnever runs it

The harmful part sits in the middle. The decoder shows you what is there before anything can run.

Tips to keep a site clean

  • Update everything. WordPress, plugins, themes and PHP. Old plugins are the most common way in.
  • Never use pirated themes or plugins. Nulled copies often ship with a backdoor.
  • Delete what you do not use. A deactivated plugin can still be attacked.
  • Block code from running in the uploads folder. Uploads should never need to run code.
  • Use strong, different passwords and two-factor login. Change them after any hack.
  • Keep backups off the server. A clean backup is the fastest way to recover.
  • Scan after every big change. Check new themes and plugins before you install them.
  • Look at your site as Google sees it. The Compare tab shows cloaking that you would never notice.

What this tool cannot do

  • It does not scan your live site by itself. A web page cannot open other sites or read your server. You bring the files or the page source, and the Get tab shows how.
  • It finds known patterns. New or custom malware that looks like normal code can pass. A result of Nothing found does not prove that a site is clean.
  • It can flag harmless code. Minified libraries, old plugins and some paid themes use tricks that look like malware. Check the line, then use Ignore this rule if it is fine.
  • It does not check the database. Spam and scripts are often stored in posts and options. The Get tab has a WP-CLI command to search the database.
  • It skips binary files. Zip files, fonts and similar are not scanned. Images are scanned only for hidden code.
  • It does not remove anything. It shows what to look at. Deleting files and cleaning the database is your job, or a professional’s.
  • The hash lookup and the online links send data out. Only when you click: the hash or the domain goes to that service.
  • I did not test on a real phone. The page fits a phone-sized screen, but I could not try real touch use.

Your privacy

Your files are read in your browser. They are not uploaded, not saved and never run. The decoder only turns text into other text. The tool keeps a few settings on your device: your domain, the rules you ignored and your clean-up ticks. It does not keep any code you scan. The links in the Get tab and the hash links open other websites in a new tab only when you click them.

Why trust this page

I built this tool myself and tested it before writing this page. For the test I wrote a small made-up site with harmless sample text that triggers the patterns: a hidden code block in a theme file, a request-driven backdoor in the uploads folder, code inside a fake photo, a bad htaccess, a page with a hidden frame, hidden links and a risky script, and a file with a miner. The tool flagged every one of them, and the two clean files came back as Nothing found.

I also tested for false alarms. A normal base-64 decode call, a jQuery file that writes to the page, the default WordPress htaccess and a YouTube frame were not flagged, and minified files were not blamed for packed code. The decoder opened a compressed base-64 code block and showed that it would have been run. It also handled plain base-64, character codes, hex escapes and letter-shift, and it showed a clear message on invalid input. The cloaking test flagged an extra script and three hidden links in one version and said Same for identical pages. File hashes matched an independent SHA-256 from Node, and a binary font file was skipped.

Three limits I want to say clearly. I tested with sample files I wrote myself, not with files from real hacked sites, so the tool may behave differently on them. My test environment had no web fonts, so I saw fallback fonts. And I did not test on a real phone. I checked a phone-sized layout, which had no sideways scrolling.

Questions people ask

Is this Website Malware Scanner free?

Yes. It is free, with no signup and no limits. Your files are read in your browser and are not uploaded.

How do I scan my website for malware?

Download your site files with FTP or your host’s file manager, then drop them into the Scan tab or press Choose folder. Read the risk card, then open the red and yellow files for the exact lines and advice.

Can it scan my live site from a URL?

No. A web page in your browser is not allowed to read another site’s files or open it freely. The Get tab gives you commands to save your page as different visitors see it, and links to services that test the live site.

What is a remote-control backdoor?

It is a small file that lets an attacker run commands on your server through a web request. It is the most common backdoor on hacked sites. Delete it, change all passwords and look for others.

My file was flagged but I think it is safe. What now?

Open the finding and read the line it points to. Minified libraries and some plugins use tricks that look like malware. If you know the code is fine, press Ignore this rule. If you are not sure, compare the file with a fresh copy from the original plugin or theme.

What does Nothing found mean?

None of the known patterns matched in that file. It does not prove the file is safe, because new or custom malware can look like normal code. Use a second scanner and compare with a clean backup.

What is cloaking?

Cloaking means the site shows a different page to search engines or to visitors from Google than it shows the owner. Hackers use it to hide spam and redirects. The Compare tab finds it by comparing two saved versions of a page.

Why are there PHP files in my uploads folder?

Normally there should be none, apart from an empty index file. A code file in uploads is almost always an attacker’s upload. Check it, delete it and block code from running in that folder.

What should I do first if my site is hacked?

Make a full backup, then change all passwords and take the site offline if it harms visitors. Then work through the Clean tab: reinstall WordPress core, plugins and themes, remove unknown admins, clean uploads and the database, and update everything.

Is it safe to paste code here?

Yes. The code is read in your browser, never uploaded and never run. Do not paste passwords or private keys, although the tool does not send them anywhere.

Does the hash lookup upload my file?

No. The tool computes the hash in your browser. If you click Look up hash, only that hash is sent to VirusTotal, so you see whether the file is already known there.

Does it work for sites that are not WordPress?

Yes. The scan works on PHP, JavaScript, HTML and htaccess files from any site. The file-name checks and the Clean tab are written with WordPress in mind.

Waqas Amjad

Hi, I’m Waqas, the person behind Brivonto. I started this site because I wanted online tools that simply work, without sign-ups or watermarks. I build each tool myself and keep improving them based on your feedback. Questions or feedback?

Get in touch.