Online text case converter: UPPER CASE, lower case, Title Case, camelCase, snake_case, kebab-case, CONSTANT_CASE.
TL;DR: Free online text case converter supporting UPPER, lower, Title, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE — with acronym-aware splitting and locale-safe ASCII mapping. Runs locally, no registration.
For local tools, open DevTools → Network and search your input — it should not appear in requests.
Usage Guide
Switch among eight text and identifier styles in the browser: UPPER CASE, lower case, Title Case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. Identifier modes split on underscores, hyphens, and camel boundaries, then apply a common-acronym lexicon so names like HTTPServerURL survive more often than naive regexes. Output updates as you type; processing stays local.
1. Pick a format in three steps
Live conversion makes A/B checks cheap: flip camel versus snake on the same string and see which form your linter or API already expects. Prefer converting one representative file before repository-wide find-and-replace.
- Paste prose or an identifier into the input panel.
- Click the target style — Title/upper/lower for copy; camel for script variables; Pascal for types and components; snake for many backends; kebab for URLs, CSS classes, and filenames; CONSTANT for enums and env-style names.
- Copy the output. For bulk renames, commit first so a bad sweep is easy to revert.
2. How acronyms are split
Camel input is cut on case boundaries first; remaining all-caps runs are greedily matched against a common acronym table (HTTP, URL, ID, and similar). Unknown runs stay intact as a single token, which is safer than inventing wrong breaks — and why sample checks still matter before mass renames. Failure sample: an internal product code like XMLishFOO may not match the lexicon and should be reviewed by eye before you replace hundreds of call sites.
3. Consistency habits that reduce review noise
Mixed conventions in one module are a frequent review comment. Convert at the boundary (import adapter, OpenAPI rename) rather than halfway through a call stack. Document the chosen style in the same PR description that lands the rename.
- Keep one naming convention per language surface (API fields vs UI labels vs file names).
- Prefer kebab-case in public URLs — many crawlers treat hyphens as word breaks.
- Eyeball proper nouns and brand tokens the lexicon does not know.
4. Why round-trips are not guaranteed
The classic accident is convert-then-convert-back and expect identity. Multiple legal splits can exist even with an acronym table. Conclusion: sample-check before bulk work; treat important codebase renames as reviewable diffs, not one-click magic. Keep the original list of identifiers until the pull request merges.
5. Unicode and locale pitfalls
If you need locale-aware Title Case for human prose in a specific language, verify on a native sample — this page optimizes for programming identifiers and general English-style title casing, not every Unicode casing edge case.
- Identifier modes use ASCII-safe letter mapping so Turkish-style I/i surprises do not rewrite code identifiers unpredictably.
- CJK mixed with Latin splits on script boundaries: CJK segments stay as-is; Latin segments follow the target style.
6. Versus slugify
Use this page when the input is already an identifier and you only need style changes. Use slugify when a human title (spaces, punctuation, CJK) must become a URL or filename. Both can emit kebab-case, but their input assumptions differ. Batch API field renames and config-key migrations belong here; blog titles belong on slugify.
7. Acceptance before bulk replace
If any hard case looks wrong, fix the source spelling or rename manually — do not paper over it with a second mass pass.
- Convert five known hard cases (acronyms, digits, CJK mix) and read them aloud.
- Run the project linter or compiler on one converted file.
- Only then expand to the full rename list, with git history as the rollback path.
8. Bulk rename playbook
Export the list of identifiers you intend to change. Convert five edge cases on this page and paste results beside the originals in a spreadsheet. If reviewers accept the mapping, generate the remaining rows the same way and apply renames with your IDE’s symbol rename where possible — text replace across strings and comments is riskier. Leave a short note in the PR: source style, target style, and any identifiers intentionally skipped because the acronym lexicon would mangle them. That note prevents a follow-up PR that “fixes” careful exceptions. When CI fails on an unexpected symbol, check whether a generated protobuf or GraphQL name was converted accidentally; restore those from vendor outputs rather than hand-editing forever. Database columns may be case-insensitive on one engine and case-sensitive on another. Renaming API fields without versioning breaks clients — prefer additive aliases during migration. When converting CONSTANT_CASE env keys, confirm deployment manifests and secret stores are updated in the same change window.
- Prefer symbol rename over naive text replace for code identifiers.
- Skip generated and vendored files explicitly.
- Record skipped tokens next to the PR checklist.
FAQ
No — there is no paid tier. All eight formats are fully available, and the conversion logic runs right in your browser.
Eight of them: UPPER CASE, lower case, Title Case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE. Identifier modes split common acronyms (HTTP, URL, JSON, …) and use locale-independent ASCII letter mapping so quirks like the Turkish i→İ never corrupt code identifiers.
Not guaranteed. One identifier can have several legitimate word splits, so conversion isn't always reversible — the classic batch-rename accident. Commit to version control before a batch run so you can roll back, spot-check the results, and route renames in important codebases through code review instead of one-click replacement.
They split at script boundaries: the Chinese part stays untouched while the Latin part converts to the target style. Also give proper nouns a quick eyeball afterward — internal capitals outside the acronym dictionary can still be split wrong.
This page converts between programming identifier styles; turning human-readable titles (with spaces, punctuation, Chinese) into URLs or filenames is slugify's job. Both can emit kebab-case, but their input assumptions differ. Batch-renaming API fields and migrating config keys are this page's bread and butter.
Hyphens — search systems often treat them as word-separator signals. And stick to one convention per language; mixing naming styles is among the most frequent code-review comments.
Related Tools
Related Articles
Online Case Converter: Switch Between camelCase, snake_case, PascalCase
Learn how to use an online case converter to switch between camelCase, PascalCase, snake_case, kebab-case and more. Covers acronym splitting, locale-safe mapping, and naming habits by language.
How to Split a PDF and Extract Pages: Range Syntax, Common Cases, and a Local Workflow
A complete guide to splitting PDFs by page range: the 1-3,5 range syntax, page-by-page extraction, and split-then-merge workflows — all in your browser, nothing uploaded.
Online Base64 to Image Converter: Decode Base64 Strings to Image Files
Learn how to convert Base64 encoded strings back to image files. Understand Base64 decoding principles, common image MIME types, and real-world Web development use cases.