Command Reference — Convert category — Untabify command

# Untabify command

## Summary

Converts tabs to equivalent spaces.

## Description

Converts selected tabs at the start of each line to spaces. The number of spaces set for a tab can be set in the Tab/Indent dialog box.

## How to Run

- Default Menu: Convert > Untabify

- All Commands: Convert > Untabify

- Toolbar: None

- Status Bar: None

- Default Keyboard Shortcut: None

## Plug-in Command ID

    EEID_UNTABIFY (4357)

## Macros

### [JavaScript]

    document.selection.Untabify();

### [VBScript]

    document.selection.Untabify