Text Tools
Plain text is everywhere – logs, exports, notes, subtitles. These tools clean it up, merge and split files, turn text into tables, JSON or XML, and convert subtitle formats, all in your browser without uploading anything.
Tools in this category
- TextRemove Duplicate LinesRemove duplicate lines from a list or text file: keep the first or last copy, ignore case and spaces, see removed lines. In your browser, files to 200 MB.
- TextSort Lines AlphabeticallySort lines of text alphabetically, naturally (2 before 10), by number, length or column, with language-aware order. Free, in your browser, files to 200 MB.
- TextRemove Empty LinesDelete blank lines from text, including lines with only spaces or tabs, or keep one blank line between paragraphs. In your browser, for files up to 200 MB.
- TextRemove Line BreaksRemove line breaks from text copied from PDFs or emails: join lines with a space or any separator, keep paragraphs, fix split words. In your browser.
- TextRemove Extra Spaces and Trim WhitespaceRemove extra spaces from text: trim line starts and ends, collapse repeated spaces, turn tabs and no-break spaces into spaces and delete invisible characters.
- TextCase ConverterConvert text to Title Case by AP, Chicago, APA or MLA rules, Sentence case, UPPER, lower, camelCase, snake_case, kebab-case and more. Free, private, instant.
- TextWord CounterCount words, characters, sentences and paragraphs, get reading and speaking time and keyword density in any language. Free word counter in your browser.
- TextCharacter CounterCount characters with and without spaces, check X (Twitter), Bluesky, Instagram and meta description limits, and see SMS parts for GSM-7 or Unicode text.
- TextFind and Replace TextFind and replace text online with plain words or regular expressions: capture groups, several rules, match preview, whole words. Private, in your browser.
- TextAdd Line NumbersNumber every line of text or code: choose the start, step, format and padding, skip empty lines, or remove existing line numbers. Free, in your browser.
- TextReverse TextWrite text backwards, flip word order, reverse each word or the order of lines, or turn text upside down. Emoji and accents stay intact. In your browser.
- TextShuffle LinesShuffle the lines of a list into random order, pick N random lines, keep a header or shuffle with a seed for a repeatable order. Free, in your browser.
- TextSlugify TextTurn titles into clean URL slugs: lowercase, hyphens, transliteration of accents, Cyrillic and Greek, max length, stop words. One slug per line, free.
- TextExtract Email Addresses from TextExtract email addresses from any text, HTML or CSV: duplicates removed, sorted by domain, joined with commas or semicolons. In your browser, nothing uploaded.
- TextExtract URLs from TextExtract all links from text, HTML, Markdown or logs: punctuation trimmed, duplicates and tracking parameters removed, domains only. Free, in your browser.
- TextRemove HTML TagsStrip HTML tags and get clean text with line breaks, lists and tables kept, entities decoded and scripts removed. Uses a sanitizer; runs in your browser.
- TextMerge Text FilesCombine many .txt, .log or .csv files into one file. Set the order, separators and file-name headers; mixed encodings are converted to one. Free, private.
- TextSplit Text FileSplit a large text, log or CSV file into smaller files by number of lines, parts, size or a matching line. Repeat the header row, download a ZIP. No upload.
- TextSplit Text into ColumnsSplit text into columns like Excel Text to Columns: by delimiter, fixed width or regex, with column formats and number settings. Export CSV or XLSX.
- TextConvert TXT to CSVConvert a text file to CSV: tabs, pipes, semicolons or space-aligned columns are detected automatically. Choose the CSV dialect for Excel. Free, private.
- TextConvert TXT to ExcelConvert text files to an Excel workbook (.xlsx): columns detected automatically, one sheet per file, numbers typed, leading zeros kept. In your browser.
- TextConvert TXT to JSONConvert text to JSON: lines to an array, key = value or INI files to an object, tab-separated tables to an array of objects. Typed values, JSON Lines.
- TextConvert TXT to XMLConvert plain text to well-formed XML: lines to elements, tables to records with elements or attributes, key = value to tags. Custom names, CDATA.
- TextConvert TXT to SRT SubtitlesTurn a script or transcript into an SRT subtitle file: timings from reading speed, spread over the video length or from timestamps in the text. VTT too.
- TextConvert SRT to TXTTurn SRT or VTT subtitles into a clean text transcript: remove numbers, timecodes and tags, merge repeated lines, drop [Music] notes. Many files at once.
- TextConvert SRT to VTTConvert SubRip (.srt) subtitles to WebVTT (.vtt) for HTML5 video: correct timecodes, escaped text, kept italics and positions. Shift times, batch to ZIP.
- TextConvert VTT to SRTConvert WebVTT (.vtt) captions to SubRip (.srt): numbered cues, comma timecodes, styles and notes removed, voices as speaker names. Batch to ZIP.
Plain text, many jobs
A text file has no formatting of its own, which is why so many programs use it: log files, database and report exports, configuration files, lists, transcripts and subtitles. The work usually falls into a few groups, and each tool below does one of them well.
Combine and split
Merge Text Files joins many .txt, .log or .csv files into one, in the order you set, with optional file-name headers – and converts files with mixed encodings into a single one. Split Text File does the opposite for files that are too big to open or send: every N lines, into N parts, by size or at a line that matches a pattern, with the header row repeated in every part.
From text to tables and data
Split Text into Columns works like Excel’s Text to Columns wizard: delimiters, fixed widths with a ruler, regular expressions and a data format for each column. TXT to CSV detects tabs, pipes or space-aligned columns and writes clean CSV for Excel, and TXT to Excel builds an .xlsx workbook with one sheet per file. For developers, TXT to JSON and TXT to XML turn lists, key = value files and tables into structured data.
Clean up text
For quick edits of pasted text there are one-step cleaners: Remove Duplicate Lines, Sort Lines, Remove Line Breaks, Find and Replace, the Case Converter, the Word Counter and Remove HTML Tags, among others.
Subtitles
SRT to VTT and VTT to SRT convert between the two common subtitle formats, following the WebVTT specification and the SubRip conventions. SRT to TXT turns subtitles into a clean transcript, and TXT to SRT makes timed subtitles from a script.
Related
Converting between text and HTML lives in the HTML section: HTML to Text and Text to HTML. Markdown files have their own utilities on the Markdown tools page.
Last updated:
FAQ
Which tool turns a text file into a spreadsheet?
For a quick CSV use TXT to CSV, for an .xlsx workbook TXT to Excel, and for full control over delimiters, fixed widths and column formats Split Text into Columns.
Can these tools handle large files?
Yes. Splitting streams files of up to 500 MB in a background worker, and merging accepts up to 300 MB in total. Big files are not loaded into the editor.
What about files in other encodings?
UTF-8 and UTF-16 with or without a byte order mark, Windows-1251, KOI8-R and Windows-1252 are detected; you can always choose the encoding yourself.
Are subtitle files text files?
Yes. SRT and WebVTT are plain text with timecodes, so they can be converted into each other, turned into a transcript or created from a script.
Are my files uploaded?
No. Every tool runs in your browser; files are read from your disk and the results are created on your device.