Skip to content
BEAD

Comment Style Converter

Translate //, #, --, ;, %, /* */, and <!-- --> comments between languages while preserving indentation.

Converted

Why

Porting code or documentation between languages often leaves a trail of orphaned // in Python or # in JavaScript. This tool strips the source comment prefix and re-wraps the lines in the target style — preserving indentation and blank lines.

Supported styles

  • Line: //, #, --, ;, %
  • Block: /* … */, <!-- … -->, {- … -}, (* … *)

You might also like