TextInspector 1.0.2
dotnet add package TextInspector --version 1.0.2
NuGet\Install-Package TextInspector -Version 1.0.2
<PackageReference Include="TextInspector" Version="1.0.2" />
<PackageVersion Include="TextInspector" Version="1.0.2" />
<PackageReference Include="TextInspector" />
paket add TextInspector --version 1.0.2
#r "nuget: TextInspector, 1.0.2"
#:package TextInspector@1.0.2
#addin nuget:?package=TextInspector&version=1.0.2
#tool nuget:?package=TextInspector&version=1.0.2
TextInspector

TextInspector separates what was detected from what is actually risky.
A complete, standalone .NET text inspection library. TextInspector detects patterns, evaluates risk, preserves exact evidence and produces UI-ready reports. The free edition is fully functional on its own—not a trial, demo or feature-incomplete package.
Features
- 76 included detection rules, with context-aware evaluation.
- Separate detection and risk: recognized signals do not automatically become violations.
- Explainable risk reports with category findings, reasons and supporting evidence.
- Source-accurate highlights linked to the original text and report findings.
- Built-in masking, rule/category exclusions, raw-match helpers and sequential batches.
- Local, deterministic execution with no remote inspection service or usage quota.
- Supports .NET Standard 2.0, .NET 8 and .NET 10.
Install
dotnet add package TextInspector --version 1.0.2
Quick start
using TextInspector;
var inspector = TextInspectorEngine.Create();
var report = inspector.CreateReport("Contact us at hello@example.com.");
Console.WriteLine(report.HasDetections); // true
Console.WriteLine(report.RiskAssessment.TotalRiskPoints); // 0
Console.WriteLine(report.RequiresReview); // false
An ordinary email address is detected as supporting evidence without automatically increasing risk.
Read findings
foreach (var finding in report.Findings)
{
Console.WriteLine($"{finding.Title}: {finding.RiskLevel}");
foreach (var reason in finding.Reasons)
Console.WriteLine(reason.Message);
}
For source-linked highlights and positions, use Inspect with TextInspectionOptions.IncludeHighlightSpans and IncludeSourceLocations, or use the report highlights.
ASP.NET Core
Install the optional TextInspector.AspNetCore companion package:
dotnet add package TextInspector.AspNetCore --version 1.0.2
using TextInspector.AspNetCore;
builder.Services.AddTextInspector(options => options.EnableMasking = true);
Licensing
Free for personal use and genuinely free, non-monetized products, including products released by businesses. Commercial use in monetized products, paid services and revenue-generating internal systems requires a separate commercial license. This is a source-available license, not an OSI-approved open-source license.
Full license · Documentation and examples
Version 1.0.2: Synchronized core and ASP.NET Core package versions and updated package documentation. No inspection behavior changes. No changes to the inspection engine, public API or 76-rule preset.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.Text.Json (>= 10.0.12)
-
net10.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on TextInspector:
| Package | Downloads |
|---|---|
|
TextInspector.AspNetCore
TextInspector: fixed built-in text detection with exact evidence, explainable risk scoring and UI-ready reports. |
GitHub repositories
This package is not used by any popular GitHub repositories.
TextInspector 1.0.2 paired-package version synchronization and documentation patch release. See CHANGELOG.md for release details.