BookmarkedTools LogoBookmarkedTools
Official DocumentationText & Content6 min read• Updated August 2026

Text Case Converter & Counter Documentation

A technical reference for string case transformations (camelCase, PascalCase, kebab-case, snake_case, Title Case, Slugify), word count metrics, and text analysis.

# Overview

Text Case Converter & Counter is a multi-purpose string utility designed for developers, technical writers, and content strategists. It provides deterministic string manipulations, SEO URL slug generation, whitespace cleansing, character frequency analysis, and reading time estimation with zero latency.

100% Client-Side Architecture: All operations execute inside your browser's V8 engine and Canvas sandbox. Zero files, color swatches, or code payloads are sent to external servers.

# String Parsing & Transformation Engines

The text conversion engine uses unicode-aware regular expressions and tokenization to split strings along word boundaries, capitalization changes, and special delimiters:

Unicode Word Boundary Splitting

Uses regex `/[A-Z]?[a-z]+|[A-Z]+(?![a-z])|\d+/g` to accurately parse compound identifiers like `HTMLElement`, `camelCaseVariable`, and `kebab-case-slug`.

SEO URL Slugifier

Strips diacritics, normalizes accented characters, removes non-alphanumeric symbols, replaces whitespace with hyphens, and cleans trailing dashes.

Statistical Metrics Engine

Calculates words (regex whitespace delimiter), characters (with and without spaces), sentences (period/exclamation/question marks), and reading time based on standard 200 WPM averages.

# 1. Supported Case Transformations

| Case Type | Example Input | Output | | :--- | :--- | :--- | | **UPPERCASE** | `hello world` | `HELLO WORLD` | | **lowercase** | `HELLO WORLD` | `hello world` | | **Title Case** | `the quick brown fox` | `The Quick Brown Fox` | | **Sentence case** | `hello. how are you?` | `Hello. How are you?` | | **camelCase** | `user profile data` | `userProfileData` | | **PascalCase** | `user profile data` | `UserProfileData` | | **snake_case** | `user profile data` | `user_profile_data` | | **kebab-case** | `user profile data` | `user-profile-data` | | **CONSTANT_CASE** | `user profile data` | `USER_PROFILE_DATA` | | **SEO Slug** | `What is Web3? (2026 Guide)` | `what-is-web3-2026-guide` |

# 2. Real-Time Text Analysis Metrics

- **Character Count (Total)**: Complete string length including newlines. - **Character Count (No Spaces)**: String length excluding `\s`. - **Word Count**: Accurate word separation across tabs, spaces, and linebreaks. - **Sentence Count**: Evaluates punctuation boundaries (`.!?`). - **Reading Time**: Calculated as `Math.ceil(words / 200)` minutes. - **Speaking Time**: Calculated as `Math.ceil(words / 130)` minutes.

# Technical Specifications & Limits

Parameter / PropertySpecification / Value
Input LimitUp to 500,000 characters in real time
Transformation AlgorithmsUnicode Regular Expressions (Regex)
Slug SanitizationRFC 3986 URL safe encoding
Reading Speed Constant200 Words Per Minute (WPM)

# Keyboard Shortcuts & Pro Controls

Copy active transformed textCtrl + C / Cmd + C
Clear input textCtrl + L / Cmd + L

# Developer Integration & Code Examples

JavaScript Slugify Algorithm
function slugify(text) {
  return text
    .toString()
    .toLowerCase()
    .trim()
    .normalize('NFD') // Separate accents
    .replace(/[̀-ͯ]/g, '') // Remove diacritics
    .replace(/[^a-z0-9 -]/g, '') // Remove invalid chars
    .replace(/\s+/g, '-') // Replace spaces with -
    .replace(/-+/g, '-'); // Collapse dashes
}

# Frequently Asked Questions

How does the Title Case algorithm handle minor words like 'and', 'the', 'in'?

Is my text data stored or sent to any server?

Try Text Case Converter & Counter Now

Test features in your browser with zero installations, zero server uploads, and 100% free offline capabilities.

Open Interactive Tool