Space to Tab Converter

Space to Tab Converter is a tool to convert X number of contiguous spaces to tabs

All processing happens on the client-side, locally in your browser. No data is uploaded.

Text
Text with Tabs

Settings

How the input is converted. Each is explained below.

The number of continuous spaces that represent a tab

History

  • 2018-06-18Tool Launched

Background

Different text editors use different characters to represent tabs. Some use tab characters while some use multiple spaces to represent a tab. This tool allows text saved with contiguous spaces to be converted to tabs.

For example, you can say that 4 spaces represent a tab. The tool will replace all occurrences of 4 continuous spaces into a tab.