Text Tools
Count words, characters, and lines. Convert text case. Remove duplicate lines. Sort alphabetically. Trim whitespace. All processing happens in your browser.
Key features
- Detailed word, character, and line-based reporting
- One-click UPPER/lower/Title case conversions
- Cleaning lines and removing duplicates
- Time-saving tools for writers and editors
Guide
Text manipulation is one of those tasks that seems trivial until you actually need to do it at scale. Changing the case of a single word takes a few keystrokes. Changing the case of an entire document with 5,000 words takes considerably longer if you are doing it manually. Counting words in a paragraph is quick. Counting words in 20 different text blocks while simultaneously tracking character counts and line counts is tedious without the right tool. WebRecast Text Tools give you a focused workspace for these everyday text operations, all running in your browser with no installations and no file uploads. The case conversion feature handles four common transformations. UPPERCASE converts every letter in your text to its capital form. This is useful for creating headings, formatting acronyms, or preparing text for systems that require uppercase input, such as certain government forms or shipping labels. lowercase converts everything to small letters, which you might need when normalizing data, preparing text for case-sensitive comparison, or cleaning up text that was accidentally typed with Caps Lock on. Title Case capitalizes the first letter of every word, following standard title formatting rules. This is valuable for formatting book titles, article headings, product names, and any content that follows title case conventions. Sentence case capitalizes only the first letter of each sentence while lowering everything else, which is the standard for body text in most style guides. Each case conversion mode has specific professional applications worth understanding in detail. UPPERCASE is required in legal document headings in many jurisdictions. Contract section headers, statutory references, and court filing captions often use all-caps formatting. Shipping and logistics systems frequently require uppercase addresses because OCR scanners at postal facilities process uppercase text more reliably. Database administrators use uppercase for SQL keywords by convention, and converting a mixed-case query to uppercase keywords improves readability. Government forms in many countries require uppercase entries in name and address fields. Title Case is more nuanced than it appears. True title case follows style guide rules about which words to capitalize. Articles (a, an, the), short prepositions (in, on, at, to), and coordinating conjunctions (and, but, or) are typically lowercase unless they start the title. Different style guides (AP, Chicago, APA, MLA) have different rules about which words remain lowercase. The tool applies a general Title Case that capitalizes the first letter of every word, which works well for most purposes. For publication-quality titles, you may need to manually lowercase minor words according to your preferred style guide. Sentence case is what most body text uses. It capitalizes the first letter after a period, question mark, or exclamation point, and lowercases everything else. This is the correct format for paragraphs, list items, and most running text. Converting a block of ALL CAPS text to sentence case makes it readable again. This comes up when working with text exported from legacy systems that stored everything in uppercase, or when reformatting text copied from headings or labels. The technical implementation of case conversion handles more than basic ASCII letters. Unicode text includes characters from hundreds of writing systems, and proper case conversion needs to handle accented characters (converting to UPPERCASE turns e-acute into E-acute), ligatures, and special cases. The tool uses JavaScript's built-in toUpperCase() and toLowerCase() methods, which follow Unicode case mapping rules. This means German text with sharp s, Turkish text with dotted and undotted i characters, and French text with accents all convert correctly. Word counting sounds like the simplest possible text operation, but it matters in many professional contexts. Writers working with publishers have word count requirements. A typical magazine feature is 2,000-4,000 words. A blog post targeting SEO performs best at 1,500-2,500 words for competitive keywords. Academic journal abstracts are typically capped at 150-300 words. SEO professionals need to hit target content lengths. Social media managers work within character limits. Students writing essays must meet minimum or maximum word counts. Translators charge by the word and need accurate counts for quoting projects. The text tools display word count, character count (with and without spaces), line count, and sentence count in real time as you type or paste text. The word counter splits on whitespace and punctuation boundaries, handling edge cases like hyphenated words, contractions, and numbers mixed with text. The relationship between word count and reading time is useful for content planning. The average adult reads about 200-250 words per minute for online content. A 1,000-word article takes about 4-5 minutes to read. This helps you set expectations for your audience. If your newsletter takes 10 minutes to read, that is about 2,500 words, and you should consider whether your subscribers have that much time. The word count display helps you calibrate content length to your audience's attention span. Character counting deserves special attention because different platforms measure characters differently. Twitter counts emojis as two characters. SMS messages split at 160 characters for GSM encoding or 70 characters for Unicode. HTML meta descriptions should stay under 155 characters to avoid truncation in search results. Google Ads headlines allow 30 characters, and descriptions allow 90 characters. Facebook post text truncates at about 477 characters before showing a "See More" link. The character counter shows both total characters and characters excluding spaces, so you can use whichever measurement your platform requires. For SEO professionals, character limits are part of daily work. Title tags should stay under 60 characters to display fully in Google search results. Meta descriptions should be 120-155 characters. URL slugs work best under 60 characters. Open Graph titles for social sharing should be under 60 characters, and OG descriptions under 200 characters. Having a character counter open while writing these elements saves constant recounting. Removing duplicate lines is a data cleaning operation that comes up constantly. You have a list of email addresses exported from a spreadsheet, and some appear multiple times. You have a log file with repeated entries. You have a list of keywords pulled from multiple sources, and you need the unique set. The duplicate removal function processes your text line by line, identifies duplicates, and outputs only unique lines. You can choose to preserve the original order (keeping the first occurrence of each line) or sort the results alphabetically. Duplicate removal has important applications in data preparation. Before importing a list of email addresses into a marketing platform, removing duplicates prevents sending multiple copies of the same message. Before creating a redirect map for a website migration, removing duplicate source URLs prevents conflicting redirect rules. Before compiling a glossary from multiple contributors, removing duplicates consolidates the term list. The operation is simple but the time savings are significant when dealing with lists of hundreds or thousands of entries. Line sorting arranges your text alphabetically, line by line. This is useful for organizing lists of names, sorting inventory items, arranging glossary entries, or cleaning up any list-format data. The sort handles both ascending and descending order. For developers, sorted output is essential when comparing lists, because two lists with the same items in different orders will show as identical once both are sorted. Sorting a .gitignore file alphabetically makes it easier to find and manage entries. Sorting a list of CSS classes helps identify redundancies. Whitespace trimming removes unnecessary spaces, tabs, and blank lines from your text. This includes leading spaces at the beginning of lines, trailing spaces at the end of lines, and multiple consecutive spaces within lines. Sloppy whitespace is a common problem in text copied from web pages, PDFs, or formatted documents. The trimming function cleans up the text without altering the actual content, making it suitable for pasting into code, forms, or databases where extra whitespace can cause issues. Trailing whitespace in code files triggers linting warnings in many development environments. Extra spaces in data fields can cause failed lookups in databases where string matching is exact. Here are practical use cases grouped by profession. For content writers and bloggers: paste your article draft into the tool to check word count before submitting. Use case conversion to format headings consistently. Use the character counter to ensure your meta description fits within the 155-character limit. Remove duplicate keywords from your SEO keyword list. Check reading time estimates to ensure your content matches your audience's expectations. For developers: clean up log output by removing duplicate lines. Sort configuration entries alphabetically for easier maintenance. Trim whitespace from data before inserting it into a database. Convert variable names between cases when refactoring code. Count lines in a CSV to verify record counts. Sort imports or dependencies alphabetically. For students and academics: check essay word count against assignment requirements. Convert titles to proper Title Case for bibliographies. Count characters for abstract submissions that have length limits. Remove duplicate entries from reference lists. Sort bibliography entries alphabetically by author name. For data analysts: clean exported data by removing duplicates. Sort lists for comparison between datasets. Trim whitespace from CSV fields that imported with extra spaces. Count lines to verify record counts after data extraction. Prepare clean text data for import into analysis tools. For translators: get accurate source word counts for project quoting. Compare character counts between source and translation to flag potential issues (translations that are significantly shorter or longer than the source may have omissions or additions). Clean up text received from clients before starting translation work. Count words in the completed translation to verify completeness. For social media managers: check character counts for tweets (280 characters), Instagram captions (2,200 characters), LinkedIn posts (3,000 characters), and Pinterest descriptions (500 characters). Convert text to UPPERCASE for emphasis in certain contexts. Count words to estimate reading time for long-form social content. Remove duplicate hashtags from a compiled list. For email marketers: check subject line length (aim for 30-50 characters for optimal open rates). Count preview text characters (most email clients show 35-140 characters of preview text). Verify that plain text versions of emails are clean and properly formatted. Remove duplicate email addresses from lists before import. The tool processes text entirely in your browser using JavaScript string operations. No text is sent to any server. This is particularly important for professionals working with confidential content: legal drafts, medical records, financial data, or unpublished creative work. You can paste sensitive text into the tool, perform your operations, and know that the content never left your device. Performance is solid even with large text blocks. The tool handles documents of 100,000 words or more without noticeable lag. The real-time statistics update as you type, so you always see current counts without needing to click a button. The interface is minimal by design: a text input area, operation buttons, and live statistics. There are no toolbars with dozens of icons, no formatting options you do not need, and no menus to navigate. A few tips for getting the most out of text tools. When converting case, always review the output for proper nouns. UPPERCASE to Title Case works well for generic text, but names like "McDonald" or abbreviations like "NATO" may need manual adjustment. When counting words for SEO purposes, count only the body content and exclude navigation elements, footers, and boilerplate text, since search engines focus on main content. When removing duplicates from a large list, sort the results afterward to make the output easier to scan visually. When trimming whitespace from code, verify that indentation-sensitive formats like Python or YAML are not affected by removing leading spaces. A less obvious but highly practical use of text tools is preparing content for different platforms simultaneously. When you write a piece of content, you often need it in multiple formats: a full blog post at 1,500 words, a newsletter excerpt at 300 words, a social media summary at 280 characters, and a meta description at 155 characters. The word and character counters help you trim each version to the right length. The case converter ensures your headline follows the same case convention across all platforms. Having all these operations in one workspace means you can prepare all versions of a piece of content in a single session. For teams that work with spreadsheet data, text tools serve as a quick data cleaning step. Export a column from a spreadsheet, paste it into the text tool, remove duplicates, sort alphabetically, trim whitespace, and paste the cleaned data back into the spreadsheet. This is often faster than writing formulas or using the spreadsheet's built-in tools, especially for one-off cleaning tasks. The visual feedback of seeing the text transform instantly gives you confidence that the operation worked correctly. Another workflow pattern involves using the text tools as part of a content audit. When auditing a website's content, you might collect all page titles, meta descriptions, and heading tags into lists. The duplicate removal function identifies duplicate titles (which is an SEO problem). The character counter flags meta descriptions that are too long or too short. The sorting function groups similar titles together for review. These operations turn a raw data dump into organized, actionable information. There are some edge cases worth understanding when working with text tools. Word count can vary depending on how you define a word. Is a hyphenated compound like "well-known" one word or two? Is a number like "3,500" one word? Is a URL one word? Different word counters handle these cases differently. This tool counts hyphenated compounds as single words and URLs as single words, which aligns with how most publishers count. If your publisher uses a specific word counting method, test a sample paragraph to see if the counts match. Another edge case involves Unicode and special characters. Text copied from PDFs sometimes contains ligatures (like fi and fl rendered as single characters) or special space characters (like non-breaking spaces or em-spaces) that look like regular spaces but are technically different characters. The trimming function handles standard ASCII whitespace. If you encounter unusual spacing issues in text pasted from a PDF, the underlying cause may be non-standard space characters in the source document. For programmers, the text tools also serve as a quick utility for string manipulation tasks that would otherwise require writing a script. Need to sort 500 lines of output from a database query? Paste and sort. Need to deduplicate a list of file paths collected from multiple grep results? Paste and remove duplicates. Need to count the lines in a log file snippet a colleague sent via chat? Paste and read the line count. These are tasks that could be done in a terminal with command-line tools like sort, uniq, and wc, but the browser tool requires no terminal access and provides immediate visual feedback. The tool can also be combined with other WebRecast tools for multi-step workflows. For example, extract text from an image using the OCR tool, then paste it into the text tools to clean up whitespace and count words. Or generate Lorem Ipsum text, then use the text tools to verify the word count matches your target. Or compare two texts with the diff tool, then paste the changed sections into the text tools for case conversion and cleanup. Each tool does one thing well, and combining them handles more complex workflows. Text manipulation is a utility task. It is not glamorous, and it is not the kind of thing people get excited about. But having a reliable, fast, private tool for these operations saves real time across hundreds of small tasks throughout the year. Every writer, developer, student, and data professional performs text operations regularly. Having them all in one browser tab, with no sign-up and no file uploads, removes the friction from these routine tasks and lets you focus on the work that actually matters.
Frequently asked questions
Can files be uploaded?
Currently, we work by pasting text; this is the fastest way!
How is privacy ensured?
Your text doesn't go to our servers; it is only processed on your screen.
