Gherkin Formatter
Free
Format messy Gherkin/BDD scenarios with proper indentation. Validate syntax, detect common issues like missing colons and duplicate steps. Essential for Cucumber, SpecFlow, and Behave users.
#gherkin#bdd#cucumber#test-cases#formatting
Gherkin Formatter
Format & Validate BDD Scenarios
Valid Gherkin ✓
Input
Formatted Output
Frequently Asked Questions(click to expand)
What is Gherkin syntax?
Gherkin is the language used by BDD frameworks like Cucumber, SpecFlow, and Behave. It uses keywords like Feature, Scenario, Given, When, Then to describe software behavior in plain English.
What indentation does Gherkin use?
Standard Gherkin uses 2-space indentation: Feature at column 0, Scenario at 2 spaces, and steps (Given/When/Then) at 4 spaces. Tables and doc strings indent to 6 spaces.