Make an accordion-style FAQ for your website

Paste your questions and answers, pick a style and copy the code. The accordion opens and closes with plain HTML, so there’s no plugin or script to add.

  • Free
  • No sign-up

Build your FAQ accordion

Edit the sample questions or replace them with your own.

Leave it empty if your page already has a heading.
Style
Icon
Options

Preview

Questions and answers

Code

HTML

<section class="faq faq--bordered">
  <h2>Frequently asked questions</h2>
  <details class="faq-item" name="faq" open>
    <summary>How long does shipping take?</summary>
    <div class="faq-answer">
      <p>Orders ship within 2 business days. Standard delivery takes 3 to 5 business days after that.</p>
    </div>
  </details>
  <details class="faq-item" name="faq">
    <summary>Can I return an item?</summary>
    <div class="faq-answer">
      <p>Yes. You can return unused items within 30 days of delivery for a full refund.</p>
      <p>Start a return from your order page and we’ll email you a prepaid label.</p>
    </div>
  </details>
  <details class="faq-item" name="faq">
    <summary>Do you ship internationally?</summary>
    <div class="faq-answer">
      <p>We ship to the US, Canada, the UK and most of the EU. You’ll see the exact cost at checkout.</p>
    </div>
  </details>
  <details class="faq-item" name="faq">
    <summary>How do I change or cancel my order?</summary>
    <div class="faq-answer">
      <p>Reply to your order confirmation email within 2 hours of ordering and we’ll update or cancel it.</p>
    </div>
  </details>
  <details class="faq-item" name="faq">
    <summary>How can I contact support?</summary>
    <div class="faq-answer">
      <p>Use the chat on any page or email [email protected]. We reply within one business day.</p>
    </div>
  </details>
</section>

How it works

An accordion FAQ in a few minutes

  1. 01

    Add your questions

    Type or paste each question and its answer. Use the words your customers use.

  2. 02

    Pick a look

    Choose a style, an icon and your accent color, and whether readers can open more than one answer at once.

  3. 03

    Check the preview

    Open and close the answers in the preview. It runs the same code you’ll copy.

  4. 04

    Paste it into your page

    Copy the HTML and CSS into your site, or download one HTML file to start from.

Why it helps

Why build your FAQ this way

  • No script to break

    There’s no plugin to keep updated and nothing extra to load. Paste the code and the browser does the rest.

  • One answer at a time, if you want it

    Turn on one-at-a-time and opening a question closes the last one, so a long FAQ never turns into a wall of text.

  • Answers stay in your HTML

    Every answer sits in the page’s code as plain text, open or closed, so anything that reads your page can read it.

  • Styles that fit your site

    The CSS uses one class name per part and inherits your site’s font, so it’s easy to restyle.

Does an accordion FAQ need JavaScript?

No. The code uses the details and summary elements, which every current browser supports. The question sits in the summary, the line people click or tap, and the answer opens below it. Keyboard users can tab to a question and press Space to open it.

For one answer at a time, the code gives every item the same name, and the browser closes the open answer when another one opens. In a browser too old for that, several answers can stay open. Everything else still works.

Will FAQPage schema get my FAQ a rich result in Google?

Not anymore. Google stopped showing FAQ rich results on May 7, 2026.

Leave the markup off unless a tool you use reads FAQPage markup. If you switch it on, the generator adds a JSON-LD script under the HTML with the same questions and answers.

What does a good FAQ look like?

It answers the questions people actually ask, in their words, and each answer settles the question in a few sentences. Your support inbox and chat logs are the best list to start from. Put the questions that block a purchase or a signup first.

No FAQ covers everything, though. A Wonderchat agent reads your FAQ along with the rest of your site and help center, so a visitor whose question isn’t on the list can ask it in chat and get an answer from your own content, with the source under the reply. Wonderchat agents resolve 76% of conversations with no human stepping in, and the free plan needs no card.

4.9 / 5 · reviews

See it answer your hardest question from your own docs

  • Free plan, not a trial
  • No credit card required
  • No coding required