Convert indentation between tabs and spaces — fast, private, in your browser.
Used for both directions (e.g., 4 spaces ↔ 1 tab).
How to use
Paste your text into the input box.
Select Tabs → Spaces or Spaces → Tabs and set Spaces per Tab.
Optionally enable Leading-only and Trim trailing spaces, then click Convert.
Convert Tabs to Spaces or Spaces to Tabs
This ToolVerses utility converts indentation precisely the way you need it. Choose the direction, control the spaces-per-tab, restrict conversion to leading indentation, and optionally trim trailing spaces. Everything runs locally—your text never leaves your device.