Error in user YAML: (<unknown>): mapping values are not allowed in this context at line 18 column 57
---
_layout: landing
landingData:
heroSection:
name: StringKit
tagline: Full string util for .NET
image: images/icon.svg
features:
- name: Zero Dependencies
icon: fa-feather
description: No external packages at runtime. .NET 9, NativeAOT-friendly, runs fully offline.
url: docs/introduction.md
- name: Coverage
icon: fa-circle-check
description: 191 tests covering case conversion, normalization, privacy, search, validation, and encoding.
url: coverage-report.md
- name: Open Source
icon: fa-code-branch
description: MIT-licensed. Contributions welcome: check the contributing guide to get started.
url: docs/contributing.md
---
A lightweight .NET library of extension methods for common string transformations and formatting.
Install via NuGet:
dotnet add package StringKitusing StringKit;- Case conversion & truncation:
ToSlug,ToCamelCase,ToPascalCase,ToSnakeCase,ToTitleCase,ToSentenceCase,Truncate,Repeat,Reverse - Normalization:
NormalizeSpaces,RemoveDiacritics,RemoveSpecialChars,NormalizeNewLines,StripHtml,CollapseWhitespace,JoinLines - Privacy / PII masking:
Redact,MaskEmail,MaskPhone - Search & comparison:
ContainsAny,ContainsAll,StartsWithAny,EndsWithAny,EqualsIgnoreCase - Validation:
IsEmail,IsUrl,IsNumeric,IsAlpha,IsAlphanumeric,IsNullOrWhiteSpace,HasMinLength,HasMaxLength - Encoding / decoding:
ToBase64,FromBase64,UrlEncode,UrlDecode,HtmlEncode,HtmlDecode