Remove Tabs from Code for Spaces

Some code style guides require spaces instead of tabs. Paste your code here to convert all tab characters to single spaces. For proper indentation conversion, you may want to use your IDE's built-in converter.

How to do this

1

Copy your code

2

Paste into the tool

3

Convert tabs to spaces

4

Copy the result

Paste text below and run the tool. Everything runs locally in your browser. No data is stored.

Remove Tab Characters

Convert every tab character into a single space. Useful for cleaning up tab-delimited text or code with mixed indentation.

Example

Input

Column1	Column2	Column3

Output

Column1 Column2 Column3

How Remove Tab Characters Works

Convert every tab character into a single space. Useful for cleaning up tab-delimited text or code with mixed indentation.

This tool runs entirely in your browser — no data is sent to any server. Paste your text, click Run, and get your result instantly. You can also chain this tool with others using the pipeline feature: run Remove Tab Characters, then continue with a related tool to build a multi-step text workflow.

TextRefinery is a free, open-source text processing toolkit. Learn more about regular expressions and text processing on the web.

TextRefinery — Browser-first text transformation tools. All processing happens locally in your browser.

Example: Remove Tabs from Code for Spaces

Input

function hello() {
	const msg = 'world';
	console.log(msg);
}

Output

function hello() {
 const msg = 'world';
 console.log(msg);
}