For string utilities, the strongest matches are uni-algo/uni-algo (Uni-algo is a C++ library dedicated to Unicode algorithms), verbalexpressions/jsverbalexpressions (JSVerbalExpressions is a JavaScript library focused on regular expression) and chriso/validator.js (Validator). symfony/string and doctrine/inflector round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Hand-picked string manipulation libraries for GitHub. Compare the top utilities, check star counts and activity, and pick the best one.
Unicode Algorithms Implementation for C/C++
Uni-algo is a C++ library dedicated to Unicode algorithms and string processing, providing robust unicode support and manipulation utilities, though it focuses less on general-purpose regex or natural sorting.
JSVerbalExpressions is a JavaScript regex builder and construction library that provides a domain-specific language for assembling complex regular expressions. It replaces the use of dense string literals with a programmatic interface and readable method chains. The library allows for the creation of search patterns and validation rules through a fluent API. This approach enables the development of regular expressions that are maintainable and easy for other developers to understand.
JSVerbalExpressions is a JavaScript library focused on regular expression construction and pattern matching via a fluent API, making it a relevant choice for string processing though narrower than a comprehensive general-purpose string utility package.
validator.js is a JavaScript string validation and sanitization library. It provides a set of functions to verify that strings match specific patterns—such as emails, URLs, and alphanumeric formats—and a toolkit for cleaning and transforming text input to remove prohibited characters and trim whitespace. The library includes utilities for standardizing email addresses by lowercasing domains and removing sub-addressing markers. It also functions as an HTML entity escaper, replacing special characters with entities to prevent the browser from executing text as code. The project covers capabili
Validator.js provides string sanitization and transformation utilities, but it focuses specifically on validation and cleaning rather than acting as a comprehensive general-purpose string manipulation library.
This project is a PHP utility library that provides an object-oriented interface for handling textual data. It serves as a framework for consistent string manipulation, offering tools to process bytes, UTF-8 code points, and grapheme clusters through a unified set of classes. The library distinguishes itself by implementing a lazy evaluation system that defers expensive string computations until the moment they are accessed, which helps optimize memory usage and application responsiveness. It also features polymorphic input normalization, which automatically detects character encoding to inst
This PHP library provides a robust object-oriented toolkit for string manipulation with built-in Unicode support, UTF-8 handling, and various text transformation utilities.
Inflector is a linguistic data processing library designed to handle string transformations and grammatical inflection within PHP applications. It provides a centralized engine for converting words between singular and plural forms and standardizing text formats to ensure consistency across dynamic content and codebase naming conventions. The library distinguishes itself through a rule-based inflection engine that utilizes regular expression pattern matching to apply grammatical logic. Developers can extend this functionality using a configurable registry, which allows for the injection or ov
Doctrine Inflector is a PHP string manipulation utility library focused on grammatical inflections, text transformation, and naming conventions, providing a specialized subset of string helper functions.
Change-case is a software library that provides text formatting, character case inversion, and naming convention normalization across codebases. It converts strings between standard naming formats such as camelCase, snake_case, PascalCase, and kebab-case using customizable delimiters and locales. The library implements isolated casing converters, functional transformation pipelines, and regular-expression-based tokenisation to split input strings into discrete word tokens. It includes utilities for formatting text into title case, inverting character cases, swapping letter capitalization, an
This repository provides utility functions for converting strings between various casing formats like camelCase and snake_case, making it a targeted library for casing conversion though it lacks broader text processing features.
Just is a collection of JavaScript utility libraries designed for data manipulation, functional programming, performance optimization, statistical analysis, and string processing. It provides a set of tools for deep cloning, filtering, and transforming complex objects and arrays. The project is structured as a series of zero-dependency modules, allowing utilities to be used independently to minimize bundle size. It implements functional programming patterns including currying, piping, and partial application, and provides execution control through memoization, debouncing, and throttling. The
This repository provides a collection of modular JavaScript utility libraries that includes string processing functions alongside general data manipulation tools, though it offers a broader utility scope rather than focusing exclusively on strings.
Humanizer is a .NET natural language formatter and string manipulation library designed to convert technical identifiers, numbers, and dates into grammatically correct, human-readable text. It functions as a pluralization engine, localization utility, and case conversion tool for the .NET ecosystem. The library provides specialized capabilities for transforming programming conventions like PascalCase or snake_case into readable sentences and vice versa. It distinguishes itself by handling irregular and uncountable English words during pluralization and singularization, and by applying culture
Humanizer is a robust string manipulation and natural language formatting library for the .NET ecosystem that covers many casing, truncation, and formatting features, though it focuses more on human-readable transformations than general-purpose string sanitization or regex matching.
This project is a general-purpose PHP utility library offering a collection of helper classes and functions for string manipulation, array and collection processing, data validation, filesystem operations, and image processing. It provides foundational toolkits designed to handle common development tasks through standardized APIs. The library is distinguished by specialized subsystems for programmatic HTML generation and secure element construction, runtime code reflection, and object-oriented utilities such as virtual property management and event callback triggers. It also includes cryptogr
This PHP utility library includes robust string manipulation functions alongside its broader collection of helpers, though it is a general-purpose toolkit rather than a dedicated string library.
Strongly typed string functions
This TypeScript library provides strongly typed string manipulation helper functions, matching the core intent for a processing utility, though it focuses more on static type safety than the full breadth of runtime string transformation features.
Extra JavaScript string methods.
This repository provides a collection of extra JavaScript string methods and manipulation utilities, making it a good fit for string processing tasks even though it lacks explicit native unicode and natural sorting features.
String manipulation helpers for javascript
This repository provides a collection of string manipulation helpers and common utilities for JavaScript, though it lacks some advanced features like natural sorting and built-in Unicode support.
Sprig is a comprehensive library of helper functions designed to extend the Go text template engine. It provides a wide array of custom functions that can be injected into the engine to enable complex data manipulation and logic directly within templates. The project offers specialized capabilities for cryptography, including the generation of private keys, X.509 certificates, and secure password hashes. It also includes advanced logic extensions for semantic versioning comparison, ternary evaluations, and the resolution of environment variables from the host operating system. The library co
Sprig is a comprehensive Go template helper library that includes extensive string manipulation functions, making it a fitting utility package despite being designed primarily for template engines.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| uni-algo/uni-algo | 324 | C++ | NOASSERTION | |
| verbalexpressions/jsverbalexpressions | 12.1K | JavaScript | MIT | |
| chriso/validator.js | 23.7K | JavaScript | MIT | |
| symfony/string | 1.8K | PHP | MIT | |
| doctrine/inflector | 11.3K | PHP | mit | |
| blakeembrey/change-case | 2.4K | TypeScript | MIT | |
| angus-c/just | 6.2K | JavaScript | MIT | |
| humanizr/humanizer | 9.7K | C# | NOASSERTION | |
| nette/utils | 2.1K | PHP | NOASSERTION | |
| gustavoguichard/string-ts | 1.3K | TypeScript | MIT |