Site Search
Site Search adds self-hosted search to blogs and smaller Publii websites with dozens to hundreds of published posts and pages. Publii builds the index locally during Preview or Sync, and visitors search it in their browser without an external search service. Results inherit your theme’s fonts and colors, with editable HTML templates and CSS for layout changes.

Key features
- Search published posts and pages using an index built locally during Publii Preview or Sync.
- Run searches in the visitor’s browser without an external search service.
- Match related word forms with stemming and recognize common American and British spelling equivalents.
- Enable optional conservative typo matching for longer words.
- Filter results by post or page and by complete tag names.
- Sort results by relevance, newest first, or oldest first.
- Split results into pages and optionally highlight matching words in bold.
- Customize results with plain HTML templates and editable CSS that inherits your theme’s fonts and colors.
- Use regional date and number formatting, with Moment or supported PHP-style date patterns.
- Edit public labels to suit your site’s wording or language. English and German labels are included; the settings screen is in English.
- Add search using shortcodes, an HTML form, or compatible theme search insertion points.
- Optionally place the search box automatically in the Mono theme’s sidebar.
Details
- Author:
- Tobby Hagler
- Added:
- November 12, 2026
Requirements and compatibility
- Browser:
- Edge, Firefox, Chrome, Safari, Opera
- Requirements:
- Publii 0.48.x and up