Highlight Search Terms
View on WordPress.orgScores higher than 75% of indexed plugins
About
Very lightweight (vanilla) Javascript that wraps search terms in an HTML5 mark tag within WordPress search results.
What It Does
Highlight Search Terms is a vanilla JavaScript snippet that automatically wraps any query terms a visitor used to reach a page in HTML5 mark tags, visually highlighting those words on the results page. It requires no configuration and no database changes, making it a set-and-forget visual enhancement for WordPress's default search behaviour. The plugin works purely on the front end, so it does not alter your search index or query logic.
Who It's For
This plugin is best for site owners running simple WordPress blogs or knowledge bases who rely on the default WP search and want a small UX touch that helps visitors quickly see why a page matched their query. It suits users who prefer zero-config, dependency-free solutions and do not want the overhead of a full search replacement plugin. Developers maintaining minimal or performance-focused sites will also appreciate the vanilla JS approach.
Who Should Skip It
Anyone already using a dedicated search plugin like Relevanssi, Ivory Search, or Ajax Search Lite should skip this, since those tools either handle highlighting themselves or render the default search results page obsolete. Sites that do not have an on-site search feature or that rely entirely on external search engines will see no benefit.
The Bottom Line
Highlight Search Terms earns an overall quality score of 79.72 out of 100 and delivers exactly what its name promises with zero bloat, making it a solid pick for users who want a free, lightweight enhancement to default WordPress search. Its tiny install base and absence of any support history mean you are trusting a small project, so anyone needing commercial-grade support or broader search features should look at Relevanssi or Ivory Search instead.
Related Plugins
Pick YMC Filter if you need AJAX-powered filtering and faceted search rather than a simple highlight overlay.
Pick Relevanssi if your default WordPress search is missing too many results and you want to overhaul relevance ranking itself.
Pick Ivory Search if you want to customize which post types appear in results and add a search box to navigation menus.
Pick Search Regex if you need an admin-side tool to search and replace content across your database, not a front-end visitor feature.
Pick Ajax Search Lite if you want live dropdown results as users type, which is a fundamentally different UX from highlighting terms on a results page.