PTBox

Text Case & Naming Convention Converter

Convert text to 15+ case and naming formats at once (UPPERCASE / lowercase / Title / Sentence / camelCase / PascalCase / snake_case / kebab-case / CONSTANT_CASE / dot.case / path/case / inverse / alternating / fullwidth / halfwidth). Click any result to copy. Smart tokenization handles existing camelCase, spaces and punctuation.

Click any result below to copy. Programming-naming formats auto-detect camelCase, spaces, punctuation.

Usage

Outputs 15+ case and naming formats at once — click any result to copy. Smart tokenization recognises existing camelCase / PascalCase boundaries, non-alphanumeric separators and consecutive uppercase followed by lowercase (HTTPServer → HTTP | Server).

Formats: UPPERCASE / lowercase / Title / Sentence / camelCase / PascalCase / snake_case / kebab-case / CONSTANT_CASE / dot.case / path/case / inverse / alternating / fullwidth / halfwidth.

Use cases

API field naming conversion

Backend returns snake_case (user_name); frontend uses camelCase (userName).

Environment variable names

Convert a concept to CONSTANT_CASE for use as env vars.

File / directory name normalization

Unify mixed naming styles to kebab-case.

Full-width / half-width conversion

Fix accidentally-typed full-width punctuation or digits.

FAQ

How is camelCase boundary detected?

Case transitions, non-alphanumeric separators, and consecutive uppercase followed by lowercase. e.g. HTTPServer → http_server.

Are Chinese characters affected?

Case conversion ignores Chinese. Full-width ↔ half-width does convert Chinese punctuation and full-width digits.

What exactly is full-width vs half-width?

Width refers to display width: letters, digits, spaces and common punctuation each have full-width Unicode equivalents (e.g. ABC ↔ ABC).

Can I customize the separator?

The 15+ built-in formats cover most needs. For special separators, convert to kebab-case and use find-and-replace.

Related tools

Comments

0 / 1000