How it works
How to use the String Utility
Paste text
Any text — code identifiers, lists, paragraphs.
Pick an operation
Case conversions, line sorting, de-duplication, trimming, slugify and more.
Copy the result
Live counts of characters, words, lines and bytes are shown below.
Available operations
UPPER, lower, Title and Sentence case; camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE and dot.case; URL slugs; reverse text or lines; sort lines A→Z or Z→A (natural order); remove duplicate or blank lines; trim; collapse spaces; join lines; number lines; shuffle lines.
Built for developers
Why developers use it
Private by design
Runs 100% in your browser. Nothing you paste is uploaded, logged or stored on a server.
Instant results
Output updates as you type, with precise error locations when something is wrong.
Works offline
Once loaded, the tool keeps working without a connection. Install it as an app if you like.
Free, no sign-up
No accounts, no limits, no watermarks.
FAQ
Frequently asked questions
Does it handle accents and emoji?
Yes. Characters are counted as users see them (grapheme clusters), and slugs strip accents correctly.
Is my data uploaded anywhere?
No. Everything runs locally in your browser — nothing you paste or open is sent to a server, logged or stored. The tool keeps working offline once the page has loaded.
Keep going
Related tools
- Reverse StringReverse characters, words or lines
- String BuilderWrap lines with quotes, prefixes and suffixes
- Word CounterCount words, characters, sentences and reading time
- Case ConverterUPPER, lower, Title, camelCase, snake_case and more
- Remove Duplicate LinesDelete repeated lines and keep the first
- Sort Text LinesSort lines alphabetically, naturally or by length
- JSON to StringConvert JSON into a string literal
- String to JSONUnescape a string back into JSON