Free Online Text Tool - Replace, Transform, Sort, Extract & Encode
The Delimiter.site Text Tool is an all-in-one browser-based text editor that lets you clean, reformat, and manipulate any block of text without writing a single line of code. Paste your content, choose your operations from the tabs above, and press Apply - or enable Real-time mode to see results as you type. Nothing is sent to a server; every operation runs entirely in your browser.
Replace Tab - Find, Remove & Substitute Text
The Replace tab is the most powerful section of the Text Tool. It lets you perform targeted search-and-replace operations as well as bulk cleanup with a single checkbox.
Search & Replace
Enter a search term and a replacement string in the first two fields. You can run a second independent search-and-replace in the fields below. Useful options:
- Ignore case - matches Apple, apple, and APPLE equally.
- Only replace once - stops after the first match, leaving the rest untouched.
- Search each line - applies the pattern independently to every line.
- Start / End of line - anchors the match to the beginning or end of each line.
- Regex mode - treats the search field as a regular expression, unlocking patterns like
\d+or(foo|bar).
Quick Replace Checkboxes
The checkbox grid applies common cleanup operations using the shared Replacement text field (leave it empty to delete the matched content):
- Replace all whitespace - collapses every whitespace character into the replacement.
- Replace extra spaces - reduces two-or-more spaces to one (or your replacement).
- Replace tabs - converts tab characters to spaces or any string.
- Leading / Trailing spaces - trims the start or end of every line.
- Remove blank lines - deletes lines that contain only whitespace.
- Spaces → newlines - puts each word on its own line.
- Strip HTML tags - removes all
<tag>markup, leaving plain text. - Strip URLs - removes all
http://andhttps://links. - Remove punctuation - strips all punctuation marks.
- Remove special chars - keeps only letters, digits, and spaces.
- Remove non-ASCII - strips any character outside the standard ASCII range (useful for cleaning copy-pasted text from PDFs or foreign-language documents).
Contextual Replace
Use the Before and After marker fields to replace everything before or after a fixed string. The Lines containing and Lines NOT containing fields replace entire lines that match (or do not match) a search term. Between replaces everything found between two markers.
Transform Tab - Reformat and Restructure
Prefix & Suffix
Add any string to the start or end of every line simultaneously. This is ideal for adding SQL single quotes, bullet points, HTML tags, or CSV delimiters to each row of data.
Wrap at N Characters
Breaks long lines into shorter ones at a fixed character width. Useful for email bodies, terminal output, or legacy system requirements with a maximum line length.
Reverse
- Reverse text - flips the entire string character by character.
- Reverse lines - puts the last line first and the first line last.
- Reverse words - reverses the word order within each individual line.
Case Conversion
- Sentence - capitalises the first letter of each sentence.
- Title - capitalises major words, lowercases articles and prepositions.
- lowercase / UPPERCASE - standard full case conversion.
- tOGGLE - inverts the case of every character.
- RaNdOm - randomises the case of each character.
For a dedicated case converter with all modes in one click, use the case converter.
Number Lines
Prepends an incrementing number to every line. Set the starting number and the separator
string (e.g. ., ), or :) to match your target format.
Sort & Dedupe Tab - Order and Clean Up Lists
Sort lines alphabetically (A → Z or Z → A) or numerically by the first number found on each line (1 → 9 or 9 → 1). Remove duplicate lines keeps only the first occurrence of each unique line (case-insensitive). Remove duplicate words deduplicates within each line, preserving sentence structure while removing repeated terms. For more control over sorting and deduplication - including a separate panel showing exactly which lines were removed - use the dedicated sort lines and remove duplicates tools.
Extract Tab - Pull Out What You Need
Grab Between
Extracts every substring found between a start marker and an end marker. For example,
setting start to " and end to " pulls out all double-quoted strings.
Toggle Include start & end markers to keep the delimiters in the output.
Lines Containing
Filters the text down to only lines that contain a specific word or phrase. Enable Exact to require the entire line to match rather than a substring.
Quick Extract
- Emails - extracts all valid email addresses, one per line.
- URLs - extracts all
http/httpslinks. - Numbers - extracts every integer and decimal number.
- Words - extracts every individual word token.
Linebreak Tab - Control Line Breaks
The Linebreak tab gives you precise control over where line breaks appear:
- After every word - puts each word on its own line (converts a paragraph into a word list).
- Every N words - groups words into chunks of N per line.
- Every N characters - hard-wraps the text at a fixed character count.
- After string - inserts a line break immediately after every occurrence of a specific character or phrase, such as a period, comma, or closing tag.
Encode Tab - Convert Between Formats
The Encode tab transforms text between common encoding formats, all processed client-side in your browser:
- Base64 Encode / Decode - converts text to and from Base64, commonly used for embedding binary data in JSON, APIs, and email attachments.
- URL Encode / Decode - percent-encodes special characters for safe use in URLs and query strings (e.g. spaces become
%20). - HTML Entity Encode / Decode - converts characters like
<to<and back, essential for safely embedding user content in HTML. - Unicode Escape / Unescape - converts non-ASCII characters to
\uXXXXescape sequences and vice versa, useful for JavaScript source files and JSON payloads.
Real-time Mode vs. Apply Button
When Real-time is enabled (the checkbox in the top bar), the output updates instantly as you type or change any setting - ideal for quick experiments. Disable it when working with large blocks of text where live processing would feel slow, then use the Apply button (or ⌘Enter / Ctrl+Enter) to run all operations at once.
Operation Order
Operations always run in this fixed sequence: Extract → Search & Replace → Quick Replace → Transform → Sort & Dedupe → Linebreak. Encode/Decode operations apply directly to the current output and do not stack with the pipeline. Use Reset ops in the bottom bar to clear all settings back to their defaults without clearing your text.