Top Related Projects
Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
🔥 LimeSurvey – A powerful, open-source survey platform. A free alternative to SurveyMonkey, Typeform, Qualtrics, and Google Forms, making it simple to create online surveys and forms with unmatched flexibility.
Quick Overview
Formbricks is an open-source survey and experience management platform designed for developers. It allows users to create and manage surveys, collect user feedback, and analyze responses within their applications. Formbricks aims to provide a privacy-focused alternative to traditional survey tools, with a focus on customization and integration capabilities.
Pros
- Open-source and self-hostable, offering greater control over data and privacy
- Extensive API and SDK support for seamless integration with various platforms
- Customizable survey logic and appearance to match brand identity
- In-product survey capabilities for targeted user feedback collection
Cons
- Relatively new project, which may lead to potential stability issues or lack of advanced features
- Limited third-party integrations compared to established survey platforms
- Self-hosting requires technical knowledge and infrastructure management
- Community support may be less extensive than commercial alternatives
Code Examples
- Creating a survey using the Formbricks API:
const formbricks = require('formbricks-js');
const client = new formbricks.ApiClient('YOUR_API_KEY');
const survey = await client.surveys.create({
name: 'Customer Satisfaction Survey',
questions: [
{
type: 'rating',
required: true,
label: 'How satisfied are you with our product?',
scale: 5
},
{
type: 'open',
required: false,
label: 'Any additional feedback?'
}
]
});
console.log('Survey created:', survey.id);
- Embedding a survey in a React application:
import { FormbricksProvider, useSurvey } from '@formbricks/react';
function App() {
return (
<FormbricksProvider environmentId="YOUR_ENVIRONMENT_ID">
<SurveyComponent />
</FormbricksProvider>
);
}
function SurveyComponent() {
const { displaySurvey } = useSurvey('SURVEY_ID');
return (
<button onClick={() => displaySurvey()}>
Take our survey
</button>
);
}
- Retrieving survey responses:
const formbricks = require('formbricks-js');
const client = new formbricks.ApiClient('YOUR_API_KEY');
const responses = await client.responses.list('SURVEY_ID');
responses.forEach(response => {
console.log('Response:', response.answers);
});
Getting Started
To get started with Formbricks:
-
Install the Formbricks SDK:
npm install @formbricks/js
-
Initialize Formbricks in your application:
import formbricks from '@formbricks/js'; formbricks.init({ environmentId: 'YOUR_ENVIRONMENT_ID', apiHost: 'https://app.formbricks.com' // Or your self-hosted URL });
-
Create a survey using the Formbricks dashboard or API, then use the SDK to display it in your application:
formbricks.triggerSurvey('SURVEY_ID');
For more detailed instructions and advanced usage, refer to the official Formbricks documentation.
Competitor Comparisons
Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
Pros of survey-library
- More comprehensive and feature-rich survey creation tool
- Extensive documentation and examples for various use cases
- Supports multiple frameworks (React, Vue, Angular, jQuery)
Cons of survey-library
- Steeper learning curve due to its complexity
- Larger bundle size, which may impact performance
- Less focus on modern, minimalist design compared to Formbricks
Code Comparison
survey-library:
const survey = new Survey.Model({
questions: [
{
type: "rating",
name: "satisfaction",
title: "How satisfied are you with our product?",
rateMin: 0,
rateMax: 10
}
]
});
Formbricks:
const survey = {
name: "Customer Satisfaction",
questions: [
{
type: "rating",
required: true,
headline: "How satisfied are you with our product?",
subheader: "Please rate from 0 to 10",
scale: 10
}
]
};
Both libraries offer similar functionality for creating surveys, but survey-library provides more detailed configuration options, while Formbricks focuses on a simpler, more streamlined approach. survey-library is better suited for complex surveys with advanced features, while Formbricks is ideal for quick, user-friendly surveys with a modern design aesthetic.
🔥 LimeSurvey – A powerful, open-source survey platform. A free alternative to SurveyMonkey, Typeform, Qualtrics, and Google Forms, making it simple to create online surveys and forms with unmatched flexibility.
Pros of LimeSurvey
- More extensive feature set for complex survey designs
- Larger community and longer development history
- Self-hosted option for complete data control
Cons of LimeSurvey
- Steeper learning curve and more complex setup
- Less modern user interface and design
- Heavier codebase, potentially slower performance
Code Comparison
LimeSurvey (PHP):
public function actionCreate()
{
$survey = new Survey;
$survey->sid = randomChars(6, '123456789');
$survey->active = 'N';
$survey->save();
}
Formbricks (TypeScript):
export async function createSurvey(survey: Survey): Promise<Survey> {
const createdSurvey = await prisma.survey.create({
data: { ...survey, id: cuid() },
});
return createdSurvey;
}
LimeSurvey uses a more traditional PHP approach with a monolithic structure, while Formbricks employs modern TypeScript with a modular architecture. Formbricks' code appears more concise and leverages modern JavaScript features and ORM tools.
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual CopilotREADME
Help us grow and star us on Github! âï¸
Formbricks
Harvest user-insights, build irresistible experiences.
Website
Trusted by
⨠About Formbricks

Formbricks provides a free and open source surveying platform. Gather feedback at every point in the user journey with beautiful in-app, website, link and email surveys. Build on top of Formbricks or leverage prebuilt data analysis capabilities.
Try it out in the cloud at formbricks.com
ðª Mission: Empower your team, craft an irresistible experience.
Formbricks is both a free and open source survey platform - and a privacy-first experience management platform. Use in-app, website, link and email surveys to gather user and customer insights at every point of their journey. Leverage Formbricks Insight Platform or build your own. Life's too short for mediocre UX.
Table of Contents
Features
-
ð² Create conversion-optimized surveys with our no-code editor with several question types.
-
ð Choose from a variety of best-practice templates.
-
ð©ð» Launch and target your surveys to specific user groups without changing your application code.
-
ð Create shareable link surveys.
-
ð¨âð©âð¦ Invite your organization members to collaborate on your surveys.
-
ð Integrate Formbricks with Slack, Notion, Zapier, n8n and more.
-
ð All open source, transparent and self-hostable.
Built on Open Source
-
ð» Typescript
-
ð Next.js
-
âï¸ React
-
ð¨ TailwindCSS
-
ð Prisma
-
ð Auth.js
-
ð§ââï¸ Zod
-
ð Vitest
ð Getting started
We've got several options depending on your need to help you quickly get started with Formbricks.
âï¸ Cloud Version
Formbricks has a hosted cloud offering with a generous free plan to get you up and running as quickly as possible. To get started, please visit formbricks.com.
ð³ Self-hosting Formbricks
Formbricks is available Open-Source under AGPLv3 license. You can host Formbricks on your own servers using Docker without a subscription.
If you opt for self-hosting Formbricks, here are a few options to consider:
Docker
To get started with self-hosting with Docker, take a look at our self-hosting docs.
Community-managed One Click Hosting
Railway
You can deploy Formbricks on Railway using the button below.
RepoCloud
Or you can also deploy Formbricks on RepoCloud using the button below.
Zeabur
Or you can also deploy Formbricks on Zeabur using the button below.
ð¨âð» Development
Prerequisites
Here is what you need to be able to run Formbricks:
Local Setup
To get started locally, we've got a guide to help you.
Gitpod Setup
-
Click the button below to open this project in Gitpod.
-
This will open a fully configured workspace in your browser with all the necessary dependencies already installed.
âï¸ Contribution
We are very happy if you are interested in contributing to Formbricks ð¤
Here are a few options:
-
Star this repo.
-
Create issues every time you feel something is missing or goes wrong.
-
Upvote issues with ð reaction so we know what the demand for a particular issue is to prioritize it within the roadmap.
Please check out our contribution guide and our list of open issues for more information.
All Thanks To Our Contributors
ð Contact us
Let's have a chat about your survey needs and get you started.
ð Security
We take security very seriously. If you come across any security vulnerabilities, please disclose them by sending an email to security@formbricks.com. We appreciate your help in making our platform as secure as possible and are committed to working with you to resolve any issues quickly and efficiently. See SECURITY.md
for more information.
ð©ââï¸ License
The AGPL Formbricks Core
The Formbricks core application is licensed under the AGPLv3 Open Source License. The core application is fully functional and includes everything you need to design & run link surveys, website surveys and in-app surveys. You can use the software for free for personal and commercial use. You're also allowed to create and distribute modified versions as long as you document the changes you make incl. date. The AGPL license requires you to publish your modified version under the AGPLv3 license as well.
The Enterprise Edition
Additional to the AGPL licensed Formbricks core, this repository contains code licensed under an Enterprise license. The code and license for the enterprise functionality can be found in the /apps/web/modules/ee
folder of this repository. This additional functionality is not part of the AGPLv3 licensed Formbricks core and is designed to meet the needs of larger teams and enterprises. This advanced functionality is already included in the Docker images, but you need an Enterprise License Key to unlock it.
White-Labeling Formbricks and Other Licensing Needs
We currently do not offer Formbricks white-labeled. That means that we don't sell a license which let's other companies resell Formbricks to third parties under their name nor take parts (like the survey editor) out of Formbricks to add to their own software products. Any other needs? Send us an email.
Why charge for Enterprise Features?
The Enterprise Edition allows us to fund the development of Formbricks sustainably. It guarantees that the free and open-source surveying infrastructure we're building will be around for decades to come.
Top Related Projects
Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
🔥 LimeSurvey – A powerful, open-source survey platform. A free alternative to SurveyMonkey, Typeform, Qualtrics, and Google Forms, making it simple to create online surveys and forms with unmatched flexibility.
Convert
designs to code with AI
Introducing Visual Copilot: A new AI model to turn Figma designs to high quality code using your components.
Try Visual Copilot