Remove Text Between
Remove Text Between Two Characters
Remove Text Between deletes everything between two characters or words that you choose, such as [ and ]. Paste your text, enter where to start and end, and copy the result. It is free and runs in your browser.
Remove Text Between Two Characters Tool
Remove Text Between Two Characters Example
Hello how are you [doing] Greg.
Hello how are you Greg.
Bookmark: press Ctrl+D (Windows) or Cmd+D (Mac) to save this tool.
What does Remove Text Between do?
This tool removes the text between two characters or words that you choose, together with those two markers. Type where to start and where to end, such as [ and ], and every piece of text in between is deleted.
It finds every pair in your text, not just the first. The start and end can be a single character, like ( and ), or longer text, like START and END. If the start and end are the same character, such as a quote, each pair is removed in turn. A start with no matching end is left as it is.
Use it to take notes in brackets out of a text, strip tags or comments, or clean up subtitles, lyrics and exports.
Remove text between examples
Each example shows the start and the end used. Unless an option is named, the start and end are removed too, the extra space is tidied and line breaks are not matched across.
| Setting | Before | After |
|---|---|---|
| Start [ and end ] | Hello how are you [doing] Greg. | Hello how are you Greg. |
| Start ( and end ), twice | a (b) c (d) e | a c e |
| Start < and end > (tags) | <b>bold</b> text | bold text |
| Same start and end (") | say "hi" and "bye" | say and |
| Several letters, START and END | x START hello END y | x y |
| Keep the start and end | a [b] c | a [] c |
| Tidy the space, off | a [b] c | a c |
| Across line breaks, off | [a b] c | [a b] c |
| Across line breaks, on | [a b] c | c |
How to remove text between two characters
- 1Add your text
Type or paste your text into the box, or import a text file. - 2Enter the start and the end
Type the character or word where the deleted text starts, and the one where it ends. For example [ and ]. - 3Click Remove Text
Everything between each start and end is removed, together with the start and end. Use Undo if you change your mind. - 4Copy it
Click Copy and paste the result where you need it.
When to remove text between characters
Good for
Taking notes in brackets or parentheses out of a text, stripping tags or comments, and cleaning up subtitles, lyrics and exports.
Check first
Everything between the start and the end is deleted, even if it is long. Pairs inside pairs are not handled, so in ((a)b) the first end closes the first start. Matching is exact, so capital letters count. The result replaces your text, so use Undo if you need the original.
Other tools
To remove only HTML tags try Remove Html Tags. To pull out the text between two characters try Extract Text Between. To swap it for other text try Replace Text Between.
Remove text between FAQ
What does the Remove Text Between tool do?
It deletes the text between two characters or words that you enter, together with those two markers, everywhere they appear in your text.
How do I remove text between two characters?
Paste your text, type the start in the Delete text starting from box and the end in the Delete text ending at box, then click Remove Text. For example, a start of [ and an end of ] removes everything in square brackets.
Can the start and end be longer than one character?
Yes. They can be words or any text, such as START and END or the tag pair that opens and closes a block.
Are the start and end characters removed too?
Yes, by default. Tick Keep the start and end characters to delete only the text between them.
Does it remove every pair or only the first?
Every pair. The tool goes through the whole text and removes each piece of text between a start and the next end.
What happens if a start has no end?
It is left as it is, along with the text after it, because there is nowhere to stop.
Does it work across line breaks?
Not by default, so a stray start character cannot delete a whole page. Tick Also match across line breaks to remove text that runs over several lines.
What does tidying the extra space do?
When a removed piece sits between two spaces, one space is removed so words do not end up far apart, and spaces next to a line end are removed. Untick it to leave the spacing as it is.
What if nothing is found?
The tool shows a message and leaves your text as it is.
Is this tool free and is my text private?
Yes. It is free, needs no account and runs in your browser, so your text is not uploaded to a server.
Looking for more text tools?
Browse Remove ToolsLast updated: 14 November 2026
