Free X-Content-Type-Options Checker
Check whether your responses send X-Content-Type-Options: nosniff to block MIME sniffing attacks, with copy-paste fixes for Nginx, Apache, and Express.
- Nosniff presence
- MIME sniffing risks
- Fix guidance

What you get for free
18 core security checks via this tool, passive scans, step-by-step remediation, security score on every result.
What Essential adds at $39/mo
+17 advanced checks, continuous monitoring, daily security score history, email alerts, GitHub SAST, board-ready PDFs, SOC 2 / ISO 27001 / PCI reports.
What is X-Content-Type-Options?
Setting nosniff disables MIME type sniffing and forces browsers to obey the declared Content-Type, reducing XSS vectors.
How to enable nosniff
- Add header: X-Content-Type-Options: nosniff
- Serve correct Content-Type for all assets
Implementation examples
Once you've identified the gap, applying the fix is straightforward. Here are the three configurations developers reach for most often.
Nginx
add_header X-Content-Type-Options "nosniff" always;Apache
Header always set X-Content-Type-Options "nosniff"Node.js (Express + Helmet)
import helmet from "helmet"
app.use(helmet.noSniff())Tool-specific questions
Does nosniff break anything?
Should APIs use nosniff?
Built for the engineers who already have enough to fix.
Real-time results
Comprehensive checks
Step-by-step fixes
More free checks, for the rest of your surface.
Complete Security Scan
Pre-Pentest Security Scan
Security Compliance Checker
WAF Checker
Security Headers Test
TLS/SSL Security Checker
Go deeper on the same topic.
X Content Type Options
Missing X Content Type Options
Security Headers Guide
Frequently asked.
What is Barrion and how does it enhance website security?
How safe is Barrion to use for security testing?
What types of security issues does Barrion identify?
What specific security checks does Barrion perform?
What is Barrion's smart crawling?
How often does Barrion perform security scans?
Is Barrion suitable for security testing of all business sizes?
How does Barrion handle data security and privacy during security testing?
What if I'm not satisfied with Barrion's security testing service?
How does Barrion help with SOC 2, ISO 27001, NIS2, and other compliance frameworks?
Anything else? Email contact@barrion.io.
Run a full report on your site.
Free first scan covers every check, no signup needed. Sign up to save the report and turn on continuous monitoring.