Text case converter — uppercase, lowercase, Title Case, camelCase, snake_case, and kebab-case

Use this free online text case converter to change capitalization and separators for articles, UI labels, env vars, and API fields. Switch to UPPERCASE for constants and banners, lowercase for normalized comparisons, Title Case for blog titles and slide headings, camelCase for JavaScript properties, snake_case for Python and SQL-style columns, and kebab-case for URL segments and CSS-friendly tokens. Processing stays in your browser. Upload a .txt file or paste from Word, Notion, or your IDE, then copy the output with one click. When you need pattern-based edits across long documents, pair this page with our regex tester & debugger and the HTML entity encoder & decoder for markup-safe strings.

Target case
Output

Uppercase, lowercase, and title case affect the whole textarea. camelCase, snake_case, and kebab-case split on spaces, hyphens, and underscores and detect camelCase word boundaries—ideal for labels and identifiers, not for arbitrary source code blocks.

Why teams use a string case converter

Copywriters and SEO editors often need a fast title case generator or uppercase converter to align H1s with brand style guides without wrestling with spreadsheet formulas. Engineers reuse the same phrases as environment variable names, JSON keys, and route params—switching from human-readable sentences to camelCase or snake_case should take seconds, not manual retyping. This utility keeps drafts private because nothing leaves the tab.

For URL slugs and shareable paths, hyphenated kebab-case is a common convention; combine it with thoughtful keywords in your CMS. When you audit live pages, our canonical tag checker and meta tags extractor help confirm that titles and URLs stay consistent after you rename segments.

How to use this text case tool (step by step)

  1. Paste any text into the input area or click Upload .txt to load UTF-8 plain text from disk. Use Load sample to see mixed lines, underscores, and camelCase together.
  2. Under Target case, pick UPPERCASE, lowercase, Title Case, camelCase, snake_case, or kebab-case. The output updates live as you type.
  3. Click the copy control on the output panel to send the converted string to your clipboard. If the browser blocks clipboard access, select the output manually and copy with Ctrl+C (Windows) or Cmd+C (macOS).
  4. For structured payloads, validate JSON separately with the JSON formatter & validator after you adjust key casing so commas and quotes stay balanced.

Keywords and workflows this page supports

People search for an online case changer, convert text to camelCase, snake case online, or kebab case converter when they move between languages, APIs, and CMS fields. Editors matching sentence case vs title case can paste a headline here, preview Title Case, and paste back. Developers normalizing database column names can paste a mixed list and export snake_case in one pass.

Case styles at a glance

  • UPPERCASE / lowercase — transform every letter in the textarea; line breaks stay intact.
  • Title Case — capitalize letter-led words for headings; useful for SEO titles when your guide calls for major words capitalized per word run.
  • camelCase / snake_case / kebab-case — tokenize on spaces, hyphens, underscores, and camelCase boundaries, lowercase each token, then join with no separator, underscores, or hyphens respectively.

Limitations and safety tips

This is a text transform scratchpad, not a linter or refactor tool. Running Title Case or ALL CAPS on source code will alter strings and keywords. Identifier modes assume you are converting labels or short lists—not entire minified files. For percent-encoded strings, use the URL encoder and decoder instead of guessing with raw case toggles.

Related text & string tools

Browse the full Text & String Tools section on the home page for the full catalog (word counter, diff checker, slug generator, line sorter, and more). Companion utilities you may use alongside case changes:

  • Word CounterCount words, characters, sentences, paragraphs, and estimated reading time for articles and limits.
  • Text Diff CheckerCompare two text versions with line-level highlights for copy, legal, and content workflows.
  • Duplicate Line RemoverDeduplicate pasted lists with case-sensitive or insensitive matching for clean datasets.
  • Text ReverserReverse full text, words per line, or each line—quick puzzles, tests, and obfuscation demos.
  • Find & Replace ToolFind and replace plain text or regex patterns across long documents without an editor install.
  • Slug GeneratorTurn titles into URL-safe, lowercase, hyphenated slugs for blogs, products, and routes.
  • Line SorterSort lines A–Z, Z–A, by length, or randomly to tidy logs, lists, and imports.
  • Whitespace RemoverTrim edges and normalize spaces so pasted content fits forms, CSVs, and code blocks.
  • Text to Binary ConverterEncode text to binary strings or decode binary back to readable characters for learning and demos.
  • ROT13 Encoder & DecoderApply ROT13 encode/decode in the browser for quick CTF-style or legacy text tasks.
  • Caesar Cipher ToolEncrypt or decrypt with a custom Caesar shift—educational and lightweight obfuscation.
  • Word Frequency AnalyzerRank word counts in pasted text to spot repetition, SEO stuffing, or vocabulary patterns.
  • Email ExtractorPull every valid email from messy text or HTML into a deduplicated list for outreach prep.
  • URL ExtractorExtract URLs from blobs of text or HTML for audits, archiving, and link inventories.

Frequently asked questions

What is a text case converter?
A text case converter rewrites the capitalization and separators in your copy—turning prose or identifiers into UPPERCASE, lowercase, Title Case, camelCase, snake_case, or kebab-case in one step. It is useful for headings, code, env vars, URLs, and CMS fields without retyping.
Is my text sent to your servers?
No. Conversion runs entirely in your browser with JavaScript. Paste or upload a local .txt file and the content never leaves your device unless you use another tool that explicitly makes network requests.
How does camelCase work for pasted strings?
The tool splits on spaces, line breaks, hyphens, and underscores, and also inserts boundaries between lowercase-and-uppercase transitions (for example, userID becomes user and id). Tokens are then joined with the first word lowercase and following words capitalized: userId.
What is the difference between snake_case and kebab-case?
snake_case uses underscores between lowercase words (often in Python, Ruby, and database columns). kebab-case uses hyphens between words (common in URLs, CSS custom properties, and some config keys). Both modes normalize tokens to lowercase.
Does Title Case change every letter?
Title Case capitalizes the first letter of each sequence of letters and lowercases the rest of that word, including words with apostrophes. Punctuation and numbers outside letter runs are left as-is so sentences and lists stay readable.
Can I convert a whole file?
Yes. Use Upload .txt to load a plain-text file into the editor, pick the target case, then copy the result. For very large files, your browser may slow down; prefer an editor or script for multi-megabyte logs.
Will this break JSON, code, or markdown?
Global upper/lowercase and title case will change letters inside strings and keywords, which can break code or data. Use identifier modes (camel, snake, kebab) only on labels or single identifiers, or duplicate your snippet and convert a isolated line. For structured data, use the JSON formatter and validator when you need safe pretty-printing.
Which related tools should I use next?
For URL segments from titles, use a slug generator when it is available in the Text and String Tools section on the home page. For pattern-based rewrites, use the regex tester and debugger. For HTML-safe strings, use the HTML entity encoder and decoder.