Convert CoffeeScript projects to modern JS
decaffeinate integrates with
Why people like decaffeinate
Add a one-liner



Convert your CoffeeScript source to modern JavaScript with decaffeinate. For real-world use cases, spend some time understanding the different options and nuances of the decaffeinate tool.

decaffeinate's Features
  • Fully automated conversion of the CoffeeScript language to modern JavaScript
  • Preserve whitespace, formatting, and comments as much as possible to allow a full one-time conversion of your CoffeeScript source code
  • Focus on correctness as the first priority, with some options to generate nicer code at the expense of 100% correctness
  • Provide helpful error messages when it encounters an unsupported language construct