Tab to Space Converter

Tab to Space Converter is a tool to convert all tab characters in a text into one or more spaces

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

Text
Text with Spaces

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.