Text Studio — Free Instant Online Editor | LazyTools

Free Text Tool · Case · Transform · Find & Replace

Text Studio

Your all-in-one text editing workspace. Case convert in 12 formats including camelCase and snake_case. Find and replace with regex. Check character limits for Twitter, SMS and SEO. Sort, reverse, deduplicate and clean up text — all in one place, all in your browser.

Paste or type your text here…
0Characters
0No spaces
0Words
0Sentences
0Paragraphs
0Lines
Read time
Speak time
Standard
Developer / code formats
Reverse
Sort & Organise
Modify
Case sensitive
Regex
Regex tips: \d+ = digits · \s+ = whitespace · (word) + $1 = capture groups
Whitespace
HTML & encoding
Remove
Twitter / X
0 / 280 chars 280 remaining
✓ Copied!
🔤 12 case formats 🔍 Find & replace + regex 📏 10 limit presets 🧹 15 clean-up tools 📊 Live stats + top words ↕ Sort, reverse, shuffle 🔒 100% browser — no upload

How to Use Text Studio

Text Studio is a single-workspace tool — everything operates on the same text area. Furthermore, you can chain operations together: clean up whitespace, then convert to title case, then check the character limit. Additionally, every change is immediately undoable with Ctrl+Z, so you can experiment freely without losing your original text.

  1. Paste or type your textClick the text area and paste or type any content. Furthermore, live statistics appear instantly — character count, word count, sentence count, paragraph count, lines, estimated reading time and speaking time. Additionally, the top words panel shows the five most frequently used words once you have typed more than ten words.
  2. Choose the Case tab for letter case conversionThe Case tab offers seven standard formats and six developer code formats. Furthermore, click any button to convert the text immediately. Additionally, you can apply multiple conversions in sequence — for example, convert to Title Case and then apply Trim Whitespace from the Clean tab to prepare a heading.
  3. Use Transform to reorganise linesThe Transform tab sorts, reverses, shuffles, deduplicates and numbers lines. Furthermore, it can join all lines into one, split text by sentence, add commas to line endings or wrap each line in quotes. Additionally, these tools are especially useful for cleaning up lists, processing CSV data and organising bullet points.
  4. Find and replace with optional regexThe Find & Replace tab replaces all occurrences of a search term in one click. Furthermore, toggle Case Sensitive for exact matching. Additionally, enabling Regex unlocks the full power of JavaScript regular expressions — use capture groups, character classes and quantifiers for complex substitutions. The match count confirms how many replacements were made.
  5. Check against a character limitThe Limit tab compares your current character count against a target. Furthermore, choose from ten presets including Twitter (280), SMS (160), meta description (155), meta title (60) and YouTube title (100). Additionally, a colour-coded bar turns green when under 80% of the limit, amber at 80–100% and red when exceeded.

Case Conversion — All 12 Formats Explained

Case conversion changes how capital and lowercase letters appear in text. Furthermore, different formats are standard in different contexts — from editorial headlines to database column names. Additionally, Text Studio supports every common format in a single click without requiring you to copy text between multiple tools.

FormatExample outputCommon use
UPPERCASEHELLO WORLDHeadings, acronyms, emphasis
lowercasehello worldURLs, usernames, CSS values
Title CaseHello WorldBook titles, page titles (skips articles)
Sentence caseHello worldBody text, emails, social media
Proper CaseHello WorldNames, headings (capitalises every word)
iNVERT cASEhELLO wORLDEmphasis, visual effect, memes
AlTeRnAtInGhElLo WoRlDVisual styling, informal tone
camelCasehelloWorldJavaScript, Java variables
PascalCaseHelloWorldClass names, TypeScript types
snake_casehello_worldPython variables, database columns
kebab-casehello-worldCSS properties, URL slugs, HTML attributes
SCREAMING_SNAKEHELLO_WORLDConstants in Python, Java, C
dot.casehello.worldConfig files, package names, Ansible

Title Case and Proper Case look similar but behave differently. Furthermore, Title Case follows editorial conventions and leaves short words lowercase — words like 'a', 'an', 'the', 'and', 'but', 'or', 'in', 'on', 'at', 'by' and 'for' unless they appear first. Additionally, Proper Case capitalises every word without exception, making it simpler but less stylistically correct for book and article titles.

Developer Code Formats — camelCase, snake_case and More

Developers use specialised naming conventions to make code readable and consistent within a language ecosystem. Furthermore, Text Studio converts any phrase into any developer format in one click — useful when renaming variables, generating API field names from plain-English descriptions, or preparing JSON keys from a spreadsheet.

camelCase — JavaScript, Java, Swift

The first word is lowercase, each subsequent word starts uppercase with no separators. Furthermore, it is the standard for variable and function names in JavaScript, Java, Swift and Kotlin. Additionally, it is also used for JSON keys in many REST APIs. Example: getUserDisplayName.

PascalCase — Classes and types

Every word starts uppercase with no separators. Furthermore, it is the standard for class names in Java, C#, TypeScript and Python. Additionally, React component names use PascalCase by convention. Example: UserDisplayName.

snake_case — Python, databases

All lowercase with underscores separating words. Furthermore, it is the recommended convention for Python variable names, function names and module names per PEP 8. Additionally, database column names universally use snake_case. Example: user_display_name.

kebab-case — CSS, HTML, URLs

All lowercase with hyphens separating words. Furthermore, it is the convention for CSS property names, HTML attribute names and URL slugs. Additionally, npm package names use kebab-case. Example: user-display-name.

The conversion strips all non-alphanumeric characters before reformatting. Furthermore, this means phrases like "First Name (optional)" convert cleanly to firstName, first_name or first-name without residual punctuation. Additionally, multiple consecutive spaces, tabs and special characters are all treated as word boundaries during the conversion.

Live Word Count and Reading Time

The statistics bar updates with every keystroke. Furthermore, it shows characters (including and excluding spaces), words, sentences, paragraphs, lines, estimated reading time and estimated speaking time. Additionally, these metrics help writers stay within length requirements for articles, social media posts, academic assignments and presentation scripts.

Reading time

Estimated at 200 words per minute — the commonly cited average reading speed for online content. Furthermore, research by Rayner et al. (2016) found adults average 238 words per minute for online text. Additionally, values under two minutes show in seconds, while longer pieces show minutes. The estimate is rounded up to the nearest practical unit.

Speaking time

Estimated at 130 words per minute — a comfortable, clear pace for presentations and narration. Furthermore, news broadcasters average 150–160 words per minute, while conversational speech averages 120–150 words per minute. Additionally, 130 words per minute gives a slightly conservative estimate suitable for planning formal presentations or podcast scripts.

The top words panel identifies the five most frequently used words, filtering out common stop words like 'the', 'a', 'is' and 'and'. Furthermore, this provides a quick keyword density check for SEO content. Additionally, writers use the frequency list to spot overused words and find synonyms to vary their language.

Find and Replace with Regex Support

The Find & Replace tab replaces all occurrences of any text pattern instantly. Furthermore, plain-text searches work for simple word or phrase substitution. Additionally, enabling the Regex toggle unlocks JavaScript regular expressions for complex patterns — you can match dates, email addresses, numbers, repeated words or any custom pattern.

Useful regex patterns in the Find field:
\d+ — one or more digits  |  \s+ — whitespace  |  https?://\S+ — URLs
(\w+)\s\1 — repeated words  |  [^\x00-\x7F] — non-ASCII characters

Capture groups in the Find field are accessible as $1, $2 etc. in the Replace field. Furthermore, this allows format transformations like swapping first and last name: Find (\w+), (\w+), Replace $2 $1. Additionally, the match count displayed after each replacement confirms the operation worked correctly.

Smart Text Clean-Up

The Clean tab removes common formatting problems that appear when copying text from web pages, documents and PDFs. Furthermore, these issues — extra spaces, HTML markup, curly quotes, encoded entities and unwanted line breaks — can make text unsuitable for processing or display without manual correction. Additionally, each clean-up operation is targeted: apply only what you need.

Remove HTML Tags

Strips all HTML markup, leaving only the plain text content between tags. Furthermore, it converts '<p>Hello <b>world</b></p>' to 'Hello world'. Additionally, useful when copying from rich text editors, word processors or web pages that embed formatting markup in the clipboard.

Decode HTML Entities

Converts encoded HTML entities back to their display characters. Furthermore, &amp; becomes &, &lt; becomes <, &quot; becomes " and &nbsp; becomes a space. Additionally, text copied from HTML source code frequently contains these encodings, making it unreadable as plain text.

Straighten Quotes

Replaces typographic curly quotes (" " ' ') with standard straight quotes (" "). Furthermore, curly quotes cause problems in code, configuration files and CSV data. Additionally, word processors automatically insert curly quotes, which then cause syntax errors when pasted into a code editor or terminal command.

Remove Extra Spaces

Collapses multiple consecutive spaces into a single space. Furthermore, this fixes text that has been formatted with manual spacing for visual alignment. Additionally, it also trims leading and trailing whitespace from the entire text — equivalent to the trim() function in most programming languages.

Remove Blank Lines

Deletes all empty lines from the text, condensing the content to remove visual gaps. Furthermore, blank lines frequently accumulate when copying from PDF documents or formatted web pages. Additionally, this is useful before importing text into databases, CSV parsers or code editors that treat blank lines as record separators.

Remove URLs and Emails

Strips all http:// and https:// URLs or email address patterns from the text. Furthermore, useful when processing user-generated content for display without exposing links. Additionally, removing URLs before word count gives an accurate count of prose content, excluding link text that inflates the total.

Character Limits for Social Media and SEO

Different platforms enforce different character limits, and exceeding them truncates content or prevents posting. Furthermore, staying within SEO character guidelines for titles and meta descriptions directly affects how content appears in Google search results. Additionally, the Limit tab provides real-time feedback as you write or edit, preventing surprises after hours of drafting.

Platform / FormatLimitNotes
Twitter / X post280 charsURLs count as 23 characters regardless of length
SMS text message160 charsMulti-part SMS splits at 153 chars (3 chars used for header)
Meta description (SEO)155 charsGoogle truncates beyond 155–160 chars in search snippets
Meta title (SEO)60 charsGoogle displays approximately 600px of title text
Instagram caption2,200 charsPreview shows only 125 chars; more requires 'More' tap
LinkedIn post3,000 charsPreview shows ~210 chars; truncated with 'See more'
YouTube video title100 charsSearch results display approximately 60–70 chars
Push notification50 charsTitle only; body text has separate 100–150 char limit
TikTok caption2,200 charsOnly first 55–60 chars show in feed without expanding
Google Ads headline30 charsPer headline; up to 3 headlines per ad

The progress bar turns amber when you reach 80% of the limit. Furthermore, this gives you a visual warning to start tightening the text before hitting the hard limit. Additionally, the remaining characters counter counts down in red when you exceed the limit, showing exactly how many characters need to be removed.

Sorting, Reversing and Reordering Lines

The Transform tab treats each line of text as a unit. Furthermore, Sort A→Z and Sort Z→A arrange lines alphabetically — useful for sorting glossary terms, tag lists, CSV rows or configuration entries. Additionally, Sort by Length arranges lines from shortest to longest or vice versa, which is useful for formatting command-line help text or creating reading-order priority lists.

Shuffle Lines randomises the order of lines — useful for creating randomised quiz questions or shuffling flashcard lists. Furthermore, Remove Duplicates keeps only the first occurrence of each identical line, discarding repeats — useful for deduplicating email lists, tag clouds or log entries. Additionally, Number Lines prepends a sequential number to each line, turning any list into a numbered list instantly.

Join Lines collapses a multi-line list into a single line with spaces, which is useful when you need to paste a list as comma-separated or space-separated values. Furthermore, Add Comma to Line Ends appends a comma to every line — turning a plain list into a valid JavaScript array or SQL IN clause body in one click. Additionally, Wrap in Quotes adds double quotation marks around every line — useful for generating quoted string lists in code.

Frequently Asked Questions

Title Case capitalises major words and leaves articles, prepositions and conjunctions lowercase — unless they appear first. Furthermore, it follows editorial style guides such as APA and Chicago. Additionally, Proper Case capitalises every word without exception. Both look similar, but Title Case is more correct for book titles, page headings and journalism.
camelCase writes compound words with each word after the first capitalised — for example, getUserName. Furthermore, it is the standard for variables and functions in JavaScript, Java, Swift and Kotlin. Additionally, many REST APIs use camelCase for JSON keys. The name comes from the humped appearance of the capitals in the middle of the word.
snake_case uses underscores to separate words and is all lowercase. Furthermore, it is standard in Python and database column names. Additionally, kebab-case uses hyphens and is standard in CSS property names, HTML attributes and URL slugs. Neither allows spaces, because both are used where spaces carry special meaning in programming and markup contexts.
Reading time divides the word count by 200 words per minute — the widely cited average adult reading speed for online content. Furthermore, speaking time uses 130 words per minute — a comfortable pace for clear formal presentations. Additionally, both values update live as you type. They are useful for planning blog posts, speeches and video scripts.
Enable the Regex toggle, then type any JavaScript regular expression in the Find field. Furthermore, \d+ matches digits, \s+ matches whitespace, and (group) creates a capture group accessible as $1 in the Replace field. Additionally, the tool shows the match count after each replacement, confirming the operation worked correctly. Invalid regex patterns show an error rather than silently failing.
No. Furthermore, all operations run entirely in your browser using JavaScript. Additionally, no text is uploaded, logged or stored anywhere. Your content never leaves your device. This makes Text Studio safe to use with confidential documents, client data or private notes.
Yes. Furthermore, all transformations apply directly to the text in the editor, so the browser's built-in undo works. Press Ctrl+Z on Windows or Cmd+Z on Mac to step back through changes. Additionally, you can undo multiple transformations in sequence, making it safe to experiment without losing your original text.
Remove HTML Tags strips all HTML markup, leaving only the plain text between the tags. Furthermore, for example, <p>Hello <strong>world</strong></p> becomes Hello world. Additionally, Decode HTML Entities is a separate operation that converts encoded characters like &amp; back to & and &lt; back to <.
The bar is green when your character count is below 80% of the selected limit. Furthermore, it turns amber between 80% and 100% — a warning zone to start editing. Additionally, it turns red when you exceed the limit, and the remaining counter shows a negative number indicating how many characters must be removed.

Related Text Tools

Word Counter

Dedicated word and character counting tool. Furthermore, includes reading level analysis and keyword density for SEO content review.

Lorem Ipsum Generator

Generate placeholder text for design mockups and layouts. Additionally, choose from classical Latin, modern lorem ipsum and random word variants.

Text to Slug

Convert any title or phrase to a URL-safe slug. Furthermore, the slug converter removes special characters and produces clean kebab-case URLs.

String Encoder

Encode and decode Base64, URL encoding and HTML entities. Moreover, useful alongside Text Studio's Decode HTML Entities and Straighten Quotes operations.

Remove Duplicate Lines

Dedicated deduplication tool for large text lists. Furthermore, supports case-insensitive matching and preserves original line order.

Regex Tester

Build and test regular expressions with live match highlighting. Additionally, use it to craft patterns before using them in Text Studio's Find & Replace tab.

Rate this tool

4.2
out of 5
399 ratings
5 ★
57%
4 ★
25%
3 ★
9%
2 ★
1%
1 ★
8%
How useful was this tool?