NSFWJS

Indecent content checker with TensorFlow.js

EstablishedOpen SourceLow lock-in

Pricing

Free tier

Flat rate

Adoption

Stable

License

Open Source

Data freshness

Aging · Jun 8, 2026

Overview

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

Ease of StartEcosystemValueMaturityFlexibilityScale Ready

Honest assessment

Strengths & Weaknesses

↑ Strengths

Real-time image analysis using TensorFlow.jsmedium

Detects inappropriate content in imagesmedium

Can be integrated into web applications for on-the-fly filteringmedium

↓ Weaknesses

Limited accuracy for complex image scenarioshigh

The model may struggle with highly nuanced or context-dependent inappropriate content, leading to false positives or negatives.

Performance overhead in real-time applicationsmedium

Real-time image analysis using TensorFlow.js can introduce significant latency and resource consumption on client devices, especially on less powerful hardware.

Dependence on TensorFlow.js for model executionhigh

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.

Lack of comprehensive documentationmedium

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

Next step

Get Started with NSFWJS

Step-by-step setup guide with code examples and common gotchas.

View Setup Guide →