Tab ⇄ Spaces Converter

Use the Tab Spaces Converter to switch indentation between tabs and spaces for code, config files, editors, style guides, and formatting cleanup, locally.

Converts leading indentation between tabs and spaces using the given tab size.

Other Tools

About

The Tab ⇄ Spaces Converter switches indentation between tab characters and a chosen number of spaces. This is helpful when moving code between editors or style guides that have different indentation rules. Just choose the direction and size, and convert inline in your browser.