NSFWJS
Indecent content checker with TensorFlow.js
Pricing
Free tier
Flat rate
Adoption
→StableLicense
Open Source
Data freshness
Aging · Jun 8, 2026Overview
What is NSFWJS?
NSFWJS is a tool that uses TensorFlow.js to detect and filter out inappropriate or indecent content in images. It helps developers ensure their applications remain family-friendly by providing real-time image analysis.
Key differentiator
“NSFWJS stands out as a lightweight, client-side solution for filtering inappropriate images using TensorFlow.js, making it ideal for web applications that need real-time analysis without the overhead of server-side processing.”
Capability profile
Capability Radar
Honest assessment
Strengths & Weaknesses
↑ Strengths
↓ Weaknesses
The model may struggle with highly nuanced or context-dependent inappropriate content, leading to false positives or negatives.
Real-time image analysis using TensorFlow.js can introduce significant latency and resource consumption on client devices, especially on less powerful hardware.
The tool is tightly coupled with TensorFlow.js, which may not be optimal for all web applications due to its size and complexity, potentially leading to vendor lock-in or integration challenges.
Documentation lacks detailed examples and explanations, making it difficult for new users to understand advanced usage scenarios without diving into the source code.
Fit analysis
Who is it for?
✓ Best for
Web developers who need to filter user-generated images for inappropriate content
Developers building social media platforms where community guidelines are critical
Teams working on applications that require real-time image analysis and filtering
✕ Not a fit for
Projects requiring high accuracy in detecting specific types of indecent content beyond general categories
Applications needing server-side processing for large volumes of images due to local execution limitations
Cost structure
Pricing
Free Tier
Available
Open source — free to use
Starts at
$0
Model
Flat rate
Enterprise
None
Performance benchmarks
How Fast Is It?
Ecosystem
Relationships
Works well with
Next step
Get Started with NSFWJS
Step-by-step setup guide with code examples and common gotchas.