Frontend

EU CAPTCHA for JavaScript

JavaScript is the world's most widely-used programming language, running natively in web browsers to power interactive, dynamic front-end experiences. Protect any JavaScript project from bots and form spam with a privacy-first, EU-hosted CAPTCHA that requires just a script tag.

Why choose Myra EU CAPTCHA?

  • Interaction-free user experience

    No puzzles, no clicks – invisible bot protection with zero user friction.

  • Digital sovereignty made in Germany

    Fully GDPR-compliant, no cookies, no tracking – developed and hosted in Germany.

  • Intelligent threat detection

    Smart protection trained by more than 100 billion daily Myra CDN signals.

  • Proven technology

    Over 5 billion successfully secured authentication attempts.

How the integration works

  1. 1. Create an EU CAPTCHA account

    Creating an account is completely free, all you need is a valid email address and you’re ready to go. Choose a plan that covers your needs. The first 3 months are free of charge.

    Create an Account
  2. 2. Create a sitekey

    Create a sitekey in the EU CAPTCHA dashboard for the domain you want to protect. Provide a clear label so you can easily identify it later. This sitekey links the widget on your website to your EU CAPTCHA account.

  3. 3. Integrate EU CAPTCHA into your website

    Add the EU CAPTCHA script tag to your HTML page's <head> and place the widget div inside your form, before the submit button. Share the integration guide with your developer for the full setup.

    View integration guide
  4. 4. Verify the token on your server

    To finish the integration, share your sitekey with your developer and validate the eu-captcha-response token against the EU CAPTCHA API before processing any submission.

    View server-side guide

5. The EU CAPTCHA widget will appear on your website.

Verified

Frequently Asked Questions

  • How do I add EU CAPTCHA to a plain HTML and JavaScript website?

    Add a <script> tag loading verify.js to your HTML page's <head>. Place <div class="eu-captcha" data-sitekey="YOUR_SITEKEY"></div> inside your form element. On form submission, the widget automatically includes the eu-captcha-response token in standard form POST requests, or you can read it manually for AJAX submissions. Your server validates the token against the EU CAPTCHA API.

  • Does EU CAPTCHA work without any JavaScript framework?

    Yes. EU CAPTCHA is designed to work with plain HTML and vanilla JavaScript. No npm packages, bundlers, or frameworks are required. A single script tag and a div element are all you need to protect any web form, making it the simplest possible integration path for static HTML sites and server-rendered applications.

  • How do I prevent form submission until EU CAPTCHA verification completes?

    EU CAPTCHA runs its background verification automatically when the page loads. By the time a user fills in and submits a form, verification is typically already complete. To enforce this in your submit handler, check that the eu-captcha-response hidden input is present and non-empty before allowing the request to proceed.

  • Can EU CAPTCHA be used on a multi-page website with separate HTML files?

    Yes. Add the verify.js script tag and widget div to each page that contains a form you want to protect. Each page initialises its own widget instance independently. You can use the same sitekey across all pages on the same domain, and each submission includes its own eu-captcha-response token for individual server-side verification.

  • Can I use EU CAPTCHA with AJAX form submissions?

    Yes. When submitting a form via fetch or XMLHttpRequest, read the eu-captcha-response value from the hidden input the widget creates — document.querySelector('input[name="eu-captcha-response"]')?.value — and include it in your request payload. Your server validates the token with the EU CAPTCHA API before processing the data.

  • Can I customise the EU CAPTCHA widget appearance?

    Yes. Use the data-theme attribute ("light" or "dark"), data-width, and data-height on the widget div to adjust its visual properties. For a fully invisible experience, set data-autostart="true" and the widget will complete the challenge silently in the background without displaying any UI element to the user.

  • Is EU CAPTCHA GDPR compliant for standard HTML websites?

    Yes. EU CAPTCHA is operated by an EU-based company, is hosted entirely in Germany, and does not rely on US cloud providers or infrastructure subject to US surveillance laws. The service processes only the data necessary to provide and verify the CAPTCHA (such as IP address and technical browser or device information) in line with the requirements of the GDPR. Your organization remains responsible for providing transparent privacy information, selecting an appropriate legal basis, and obtaining any required consent for your specific implementation. This information does not constitute legal advice; please consult your legal counsel for an assessment of your individual case.

Ready for a better CAPTCHA?

Experience invisible bot protection with privacy‑first, GDPR‑compliant verification made and hosted in Germany. Try Myra EU CAPTCHA now 3 months for free and secure your web forms without adding friction for your users.

Privacy-first technology

We guarantee zero data transfer to third-country jurisdictions.

Read our privacy policy

Fast and easy setup

We offer ready-made integrations for many CMS and popular frameworks.

Read our quick start guide