splitforms.com

Form template · Bug Report Form Template

Bug Report Form Template

A bug report form collects the four things a developer needs to fix a problem: what happened, what should have happened, the exact steps to reproduce it, and where it happened. This free bug report template is plain HTML with 9 fields, auto-filled browser and screen details, and an optional screenshot upload on paid plans.

  • 500 free a month
  • No PHP · no SDK
  • One POST endpoint
Bug Report Form Template — copy-paste form template

This template is one of our free HTML form templates. See more form templates by industry.

Key benefits

No backend code

No server, API route, or SDK — your Bug Report Form posts straight to one endpoint.

Straight to your inbox

Every bug report form entry is emailed to you and saved in a searchable dashboard, with spam filtered out first.

Copy-paste ready

It's plain HTML you own — paste the Bug Report Form snippet, swap in your access key, and ship.

Copy and ship

Your Bug Report Form, ready to paste.

This bug report form is plain HTML that posts to the /api/submit endpoint. Replace YOUR_ACCESS_KEY with the key from your dashboard; that's the only edit.

bug-report-form.html
<!-- enctype is required for the screenshot upload. Uploads are stored on paid
     plans only; on Free the file is dropped and the text fields still arrive. -->
<form action="https://splitforms.com/api/submit" method="POST" enctype="multipart/form-data">
  <input type="hidden" name="access_key" value="YOUR_ACCESS_KEY">
  <input type="hidden" name="subject" value="New bug report">
  <input type="hidden" name="form_loaded_at" id="form_loaded_at">
  <input type="hidden" name="user_agent" id="user_agent">
  <input type="hidden" name="screen_size" id="screen_size">
  <input type="hidden" name="referrer_page" id="referrer_page">

  <label>Your email <input type="email" name="email" autocomplete="email" required></label>

  <label>Short summary
    <input type="text" name="summary" maxlength="120" placeholder="Checkout button does nothing on mobile" required>
  </label>

  <label>Page or screen where it happened
    <input type="text" name="page_url" id="page_url" placeholder="https://example.com/checkout">
  </label>

  <label>Steps to reproduce
    <textarea name="steps" rows="5" required>1. </textarea>
  </label>

  <label>What did you expect to happen?
    <textarea name="expected" rows="3" required></textarea>
  </label>

  <label>What happened instead?
    <textarea name="actual" rows="3" required></textarea>
  </label>

  <label>How bad is it?
    <select name="severity" required>
      <option value="">Choose one</option>
      <option>Blocks me completely</option>
      <option>Major: there is a workaround</option>
      <option>Minor: annoying but usable</option>
      <option>Cosmetic: looks wrong</option>
    </select>
  </label>

  <fieldset>
    <legend>Does it happen every time?</legend>
    <label><input type="radio" name="frequency" value="every time" required> Every time</label>
    <label><input type="radio" name="frequency" value="sometimes"> Sometimes</label>
    <label><input type="radio" name="frequency" value="once"> Only once so far</label>
  </fieldset>

  <label>Screenshot (optional, up to 5 MB each)
    <input type="file" name="screenshot" accept="image/png,image/jpeg,image/webp,image/gif" multiple>
  </label>

  <!-- honeypot: leave empty -->
  <input type="checkbox" name="botcheck" style="display:none" tabindex="-1" autocomplete="off">

  <button type="submit">Send bug report</button>
</form>
<script>
  document.getElementById('form_loaded_at').value = Date.now();
  document.getElementById('user_agent').value = navigator.userAgent;
  document.getElementById('screen_size').value =
    screen.width + 'x' + screen.height + ' @' + window.devicePixelRatio + 'x';
  document.getElementById('referrer_page').value = document.referrer;
  if (document.referrer) document.getElementById('page_url').value = document.referrer;
</script>

Field by field

What each Bug Report Form field is for.

summary (text, 120 chars)
Becomes the issue title if you forward reports to a tracker. The placeholder shows the shape you want: what broke, where, on what device. The length cap stops people pasting the whole story here.
steps (textarea, starts with '1. ')
The most important field on the form. Pre-filling '1. ' gets far more numbered, followable steps than an empty box, and it is required because a bug you can't reproduce usually can't be fixed.
expected / actual (two textareas)
Kept apart on purpose. 'Nothing happens when I tap Pay' (actual) next to 'It should open the card form' (expected) defines the bug; one combined box tends to get only half of that.
page_url (text)
Pre-filled from the page the reporter came from when you link to the form from inside your app; they can correct it. A text input rather than type=url so 'the settings screen in the iOS app' is accepted too.
severity / frequency
The reporter's view of impact, plus whether it reproduces every time. Use them to sort what to read first, not as your priority: a 'cosmetic' bug on your pricing page may matter more than a 'blocking' one in a rarely used setting.
user_agent, screen_size, referrer_page (hidden)
Filled by the script so you get browser, OS and viewport without asking. They are stored like any other field and show up in the email, the dashboard and the CSV export.
screenshot (file, paid plans)
Up to 5 files per report, 5 MB each, on paid plans with storage (Pro holds 500 MB in total). On the Free plan files are dropped and the rest of the report still arrives, so on Free either remove this input or ask for a screenshot link instead.

How to add it

How to add a Bug Report Form to your site.

To add a Bug Report Form to your site you need three things: a free splitforms access key, the HTML snippet above, and your key pasted into it. No backend, database, or CAPTCHA library — the form posts to one URL and every submission lands in your inbox and dashboard.

Step 1 of 4

Copy the form and set your key

Paste the HTML on a /report-a-bug page or in an in-app help dialog and replace YOUR_ACCESS_KEY. Keep enctype="multipart/form-data" if you keep the screenshot field.

Step 2 of 4

Link to it from where bugs happen

Add a 'Report a bug' link in your app footer or error pages. The script reads the page the reporter came from into page_url and referrer_page, so you know where they were.

Step 3 of 4

Triage from the inbox or dashboard

Each report is emailed to you and saved in the dashboard with the browser details. Reply to the reporter directly; their email is the Reply-To.

Step 4 of 4

Forward to your tracker (paid)

On paid plans, send reports to Slack, or post them by signed webhook to Zapier, Make, n8n or your own small function that creates a GitHub or Linear issue with the summary as the title.

You're all set ✓

What's included

What's in this Bug Report Form template?

Most bug reports that go nowhere fail the same way: 'it's broken' with no steps, no page and no browser, followed by three emails to find out what the reporter was doing. This template is built around reproduction. Expected and actual are separate boxes because the gap between them is the bug, and people describe that gap far more clearly when asked twice. Steps to reproduce comes pre-filled with '1.' to nudge a numbered list. Browser, operating system, screen size and the page the reporter came from are filled in by a few lines of script, so the reporter never has to know what a user agent is. Severity is the reporter's opinion, not your priority, but it tells you which reports to read first. Steps, expected vs actual, auto-captured browser details; screenshots on paid plans.

  • Bug report form: 9 fields (email, summary, page URL, steps to reproduce, expected, actual, severity, frequency, screenshot) plus auto-filled browser, screen size and referring page
  • Plain HTML with labelled fieldsets — paste it into any site
  • One POST endpoint, no SDK — honeypot and spam scoring, no CAPTCHA
What's included with the Bug Report Form Template

Where submissions go

Where do your Bug Report Form submissions go?

Each bug report form entry arrives with Reply-to set to the visitor's email, so one tap on Reply answers them. A honeypot and spam scoring filter bots out first. Every submission is emailed to your inbox and can forward to a webhook or Slack the moment a visitor hits send.

  • Reply-to wired to the visitor's email — reply straight from your inbox
  • Honeypot and automatic spam scoring filter bots, no CAPTCHA friction
  • Live dashboard, CSV export, and signed webhooks on paid plans
Spam-filtered submissions from the Bug Report Form Template

Questions

Bug Report Form questions.

Anything missing? Email us, we read every message.

A person reading answers to common questions
What should a bug report include?

A one-line summary, numbered steps to reproduce, what you expected, what actually happened, where it happened (page or screen), the browser and operating system, and how often it happens. A screenshot helps. This template asks for all of these and fills in the browser details automatically.

Can people attach screenshots?

Yes, on paid plans: up to 5 files per report, 5 MB each, stored against your plan's storage (500 MB on Pro, which is $5 per month). On the Free plan uploaded files are dropped and the text of the report still arrives, so remove the file input or ask for a link instead.

How do I send bug reports to GitHub Issues or Linear?

Both APIs need an authenticated request, so route the webhook (paid plans) through Zapier, Make or n8n, or a small serverless function, that creates the issue with your token. Custom webhook payload templates let you shape the JSON first. The summary field makes a natural issue title and steps, expected and actual make the body.

How do I automatically capture the browser and OS?

The script at the bottom copies navigator.userAgent, the screen size and document.referrer into hidden fields when the page loads. They arrive with every report like any other field. Nothing extra is installed and the reporter does not see them.

How do I keep spam out of a public bug report form?

The hidden botcheck honeypot and splitforms' rule-based spam filter catch most automated junk without a CAPTCHA, and likely spam goes to a Spam tab you can review. If you put the form inside a logged-in area, spam mostly disappears.

Is the bug report form free?

Each report is one submission, and the Free plan covers 500 a month with email notifications and the dashboard, but no stored screenshots. Paid plans add file uploads, CSV export, Slack and signed webhooks.

View all FAQs

Ship your bug report form template in 60 seconds.

500 free submissions a month across unlimited forms — no credit card. Copy the snippet, paste your access key, and watch leads land in your dashboard.

  • No credit card required
  • 500 free submissions
  • Setup in minutes
Two people celebrating a working contact form

Use this bug report form

You'll see a confirmation on screen when a report is sent. If sending fails, your answers stay in the form — check your connection and press Send again.

  • Static-site compatible
  • Spam protection available
  • Submissions delivered to your endpoint
Use this bug report form