Humanizer meets all your .NET needs for manipulating and displaying strings, enums, dates, times, timespans, numbers and quantities.
- Installation - How to install and configure Humanizer
- Quick Start Guide - Get up and running quickly
- String Humanization - Transform computerized strings to human-readable text
- String Dehumanization - Convert back to PascalCase
- String Transformations - Apply custom transformations with IStringTransformer
- String Truncation - Intelligent truncation strategies
- Enum Humanization - Make enums readable
- Enum Dehumanization - Parse strings back to enums
- DateTime Humanization - Relative time ("2 hours ago", "tomorrow")
- TimeSpan Humanization - Human-readable durations
- Fluent Date API - Readable date/time construction and manipulation
- DateTime to Ordinal Words - "1st of January 2020"
- TimeOnly to Clock Notation - "half past two" (.NET 6+)
- Number to Words - "123" → "one hundred twenty-three"
- Number to Ordinal Words - "1" → "first"
- Words to Number - "forty-two" → 42
- Ordinalization - "1" → "1st"
- Roman Numerals - Convert to/from Roman numerals
- Metric Numerals - "1230" → "1.23k"
- Number to Numbers - Fluent API for large numbers
- Tupleize - "2" → "double"
- Collection Humanization - Turn lists into "item1, item2, and item3"
- ToQuantity - "5 cases", "1 man", "2 men"
- Pluralization - Handle singular/plural forms
- Singularization - Convert plurals to singular
- Inflector Methods - Pascalize, Camelize, Underscore, Kebaberize, etc.
- ByteSize - Human-readable byte sizes
- Heading - Convert headings to text
- Time Unit Symbols - "ms", "s", "min", etc.
- Localization - Multi-language support
- Custom Vocabularies - Add custom pluralization rules
- Extensibility - Implement custom transformers and truncators
- Configuration - Customize Humanizer behavior
- Migrating to v3.0 - Breaking changes and new features
- Complete API Reference - Full API documentation
- Contributing Guide - How to contribute to Humanizer