Skip to content

Add DuckDuckGo-powered search to your website

  1. Copy and paste the HTML below
  2. On the second line, change the value attribute to your website’s URL
<form method="get" action="https://duckduckgo.com/">
    <input type="hidden" name="sites" value="https://your-url-here.com">
    <label for="search">Search</label>
    <input type="search" id="search" name="q">
    <button type="submit">Go</button>
</form>

Update: March 21, 2025

The above was utilized on this website for nearly five years, but I switched over to using PageFind on a dedicated Search page.