Skip to content
ToolInstant

Gherkin Formatter & Step Generator

Local

Format and lint Cucumber .feature files: aligned tables, missing Then, duplicate scenarios, outline params. Generate Java, JavaScript or behave step skeletons.

Loading tool…

Ready · Runs in this browser · nothing uploaded

Developer tools · Free · No upload · No sign-up

How to use the gherkin formatter & step generator for free

  1. 1Paste or open a .feature file.
  2. 2Read the formatted file and the list of errors and warnings, then copy it back.
  3. 3Switch to Step definitions and pick Cucumber Java, cucumber-js or Python behave.

Also useful for: gherkin formatter, feature file formatter, cucumber step definition generator, gherkin linter, bdd feature file validator, behave step generator.

  • Completely free, no account needed
  • Your data never leaves your device
  • Works on desktop and mobile

Frequently asked questions

Is this Gherkin formatter free?+

Yes. Every tool on ToolInstant is free to use with no sign-up and no limits on how often you use it.

Is my data uploaded anywhere?+

No. Everything is processed inside your browser using JavaScript. Your input never leaves your device.

Does it work on mobile?+

Yes. ToolInstant works in any modern browser on phones, tablets and desktops.

Which Gherkin keywords are supported?+

English keywords: Feature, Rule, Background, Scenario/Example, Scenario Outline/Template, Examples/Scenarios, Given/When/Then/And/But/*, tags, comments, data tables and doc strings. Other spoken languages (# language: hi etc.) aren't supported yet.

How are step parameters detected?+

Quoted text becomes {string}, whole numbers {int}, decimals {float}. Outline <params> are typed from their Examples values, falling back to {word} or the anonymous {} parameter.