Tabs / Spaces Converter
Expand tabs or compact leading indentation with fixed tab stops.
- Free
- No sign-up
- Runs in your browser
- Nothing uploaded
Scope: Spaces-to-tabs conversion changes leading indentation only.
Workbench
Inputs stay on this page. Press Ctrl or ⌘ + Enter to run.
How to use Tabs / Spaces Converter
Fill in the fields:
- Text.
- Operation: Tabs to spaces at tab stops, Leading spaces to tabs.
- Tab width: 1 to 16.
Press “Convert indentation”.
Copy the result, or download it as converted-indentation.txt.

