# Text Highlighter

Highlight specific words, phrases, or patterns in text with custom formatting

> Canonical page: https://elysiatools.com/en/tools/text-highlighter

- **Category:** Text Processing

- **Keywords:** text, highlight, color, format, search, text highlighter

## Overview

The Text Highlighter is a versatile utility designed to identify and format specific words, phrases, or complex patterns within your text, allowing you to emphasize key information for better readability or data analysis.

## Inputs

- **Text Input** (textarea): Enter text to highlight...
- **Highlight Terms** (text): Enter words or patterns to highlight
- **Highlight Type** (select)
- **Highlight Format** (select)
- **Output Format** (select)
- **Case Sensitive** (checkbox)
- **Whole Word Only** (checkbox)

## When to use

- When you need to quickly identify and mark specific keywords or phrases in a long document.
- When preparing text for web or documentation by applying consistent Markdown, HTML, or custom formatting.
- When extracting or highlighting data patterns using regular expressions for technical review.

## How it works

- Paste your source text into the input area.
- Enter the specific words, phrases, or regex patterns you wish to target.
- Select your preferred highlight format, such as bold, HTML tags, or custom brackets.
- Choose your output format and process the text to generate the highlighted result.

## Use cases

- Emphasizing key terminology in academic papers or technical reports.
- Preparing content for CMS platforms by automatically wrapping keywords in HTML tags.
- Cleaning and auditing log files by highlighting specific error codes or status patterns.

## Frequently asked questions

### Can I highlight multiple different terms at once?

Yes, you can specify terms to be highlighted based on your chosen highlight type, including support for regex patterns.

### Does the tool support case-sensitive searching?

Yes, you can enable the 'Case Sensitive' option to ensure only exact matches are highlighted.

### What output formats are available?

You can export your results as plain text, HTML, Markdown, or view statistics about the matches found.

### Can I use regular expressions to find patterns?

Yes, select 'Regular Expression' in the Highlight Type menu to use advanced pattern matching.

### Is the formatting applied to the original text?

The tool processes your input and returns a new version of the text with your chosen formatting applied to the matched terms.

## Related tools

- [Line Number Adder](https://elysiatools.com/en/tools/line-number-adder): Add line numbers to text or code with customizable formatting options
- [Line Number Remover](https://elysiatools.com/en/tools/line-number-remover): Remove line numbers from text or code with intelligent pattern recognition
- [Multiline Merger](https://elysiatools.com/en/tools/multiline-merger): Merge multiple lines into a single line with customizable separators and formatting options
- [Text Wrapper](https://elysiatools.com/en/tools/text-wrap): Wrap text to specific line lengths with customizable options
- [Date Extractor (日期提取器)](https://elysiatools.com/en/tools/date-extractor): Extract dates from text in multiple formats including Chinese, ISO, and US formats with detailed analysis and summary
- [Newline Normalizer](https://elysiatools.com/en/tools/newline-normalizer): Normalize and unify newline characters in text to consistent line ending format
- [Number Format Cleaner](https://elysiatools.com/en/tools/number-format-cleaner): Normalize and clean various number formats in text for consistency
- [Paragraph Formatter](https://elysiatools.com/en/tools/paragraph-formatter): Normalize paragraph formatting with proper spacing, punctuation, and structure

## Samples

- [Text Case Format Samples](https://elysiatools.com/en/samples/text-case-formats): Examples of different text case formats: camelCase, snake_case, kebab-case, PascalCase, and more
- [Text with Emoji Samples](https://elysiatools.com/en/samples/text-with-emoji-samples): Mixed language text containing various Unicode emojis for testing emoji extraction
- [Chinese-English Mixed Text Samples](https://elysiatools.com/en/samples/text-chinese-english-mixed-samples): Sample text files with mixed Chinese and English content for testing automatic spacing tools
- [Text with Chinese Samples](https://elysiatools.com/en/samples/text-with-chinese-samples): Mixed language text containing Chinese characters for testing Chinese extraction

## Related content

- [Center Lines and Highlight Text for Human Review](https://elysiatools.com/en/hubs/text-emphasis-and-centered-layout): A plain-text presentation workflow for centering lines and marking selected words, phrases, or patterns while keeping code and data semantics outside the transformation.
