Text Replacer

Replace text patterns with new content.

Text to replace

Text with replacements

Tool options

Search text

Find This Pattern in Text

Enter the text pattern that you want to replace.

Find a Pattern Using a RegExp

Enter the regular expression that you want to replace.

Replace Text

Enter the pattern to use for replacement.

Text Replacer

Easily replace specific text in your content with this simple, browser-based tool. Just input your text, set the text you want to replace and the replacement value, and instantly get the updated version.


Text Replacer Examples

Click to try!

Replace specific word in text

In this example we will replace the word "hello" with the word "hi". This example doesn't use regular expressions.

Search text

Find This Pattern in Text

Enter the text pattern that you want to replace.

Find a Pattern Using a RegExp

Enter the regular expression that you want to replace.

Replace Text

Enter the pattern to use for replacement.

Replace all numbers in text

In this example we will replace all numbers in numbers with * using regexp. In the output we will get text with numbers replaced with *.

Search text

Find This Pattern in Text

Enter the text pattern that you want to replace.

Find a Pattern Using a RegExp

Enter the regular expression that you want to replace.

Replace Text

Enter the pattern to use for replacement.

Replace all dates in text

In this example we will replace all dates in the format YYYY-MM-DD with the word DATE using regexp. The output will have all the dates replaced with the word DATE.

Search text

Find This Pattern in Text

Enter the text pattern that you want to replace.

Find a Pattern Using a RegExp

Enter the regular expression that you want to replace.

Replace Text

Enter the pattern to use for replacement.


All Text Tools

Split

Split text into multiple parts using a separator

Join Text

Join text elements with a specified separator

Remove duplicate lines

Quickly delete all repeated lines from text

String To morse

Quickly encode text to morse

Repeat Text

Repeat text multiple times

Truncate Text

Truncate text to a specified length

Reverse

Reverse any text character by character

Randomize case

Randomize the case of letters in text

Convert to Uppercase

Convert text to uppercase

Extract substring

Extract a portion of text between specified positions

Create palindrome

Create text that reads the same forward and backward

Palindrome

Check if text reads the same forward and backward

Text Quoter

Add quotes around text with various styles

Rotate Text

Shift characters in text by position.

ROT13 Encoder/Decoder

Encode or decode text using ROT13 cipher.

Base64 Encoder/Decoder

Encode or decode data using Base64.

Text Statistics

Get statistics about your text

Text Censor

Quickly mask bad words or replace them with alternative words.

Password Generator

Generate secure random passwords with custom options

String URL encoder

Quickly URL-escape a string.

String URL decoder

Quickly URL-unescape a string.

Unicode Encoder / Decoder

Encode or decode text using Unicode escape sequences.

Hidden Character Detector

Find hidden Unicode characters in text