AVI to MP4 Converter
Modernise old AVI video into MP4 — usually far smaller, and playable again.
Convert indentation between tabs and spaces, with tab stops handled properly.
Drop a code file here, or click to choose one
Converted on your device — the file is never uploaded
The Tabs to Spaces Converter detects how a file is indented and converts it either way, expanding tabs to real tab stops and leaving tabs inside lines alone unless you ask otherwise.
A file indented with both tabs and spaces looks right in the editor it was written in and ragged everywhere else, because every editor picks its own tab width. Linters fail, diffs fill with whitespace changes, and a pull request becomes unreadable.
Paste the code and it tells you what the file uses now — tabs, spaces or a mix — and what the indent step actually is, worked out from the widths that occur. Convert in either direction with a tab width of 2, 4 or 8. Tabs are expanded to the next tab stop rather than to a fixed run of spaces, which is what editors do and what keeps aligned code aligned. By default only the indentation changes, so a tab inside a TSV row or a string is left exactly as it is.
Tabs, spaces or mixed — and the indent step actually in use.
A tab advances to the next stop, which is what keeps alignment correct.
A tab inside a TSV row or a string is left exactly as it is.
Spaces to tabs as well, keeping any leftover alignment spaces.
The warning explains why the file looks different in each editor.
Any language — only whitespace is touched.
Tabs, spaces or mixed, with the indent step detected.
Spaces or tabs, at 2, 4 or 8 columns.
Paste it back, or download the file.
Only if you ask. By default just the indentation changes, so a tab separating values in a TSV row or inside a string stays exactly as it is.
A tab moves to the next multiple of the tab width rather than always inserting that many spaces. Two spaces followed by a tab, at width 4, becomes four spaces — not six.
Whatever your project already uses — consistency matters more than the choice. Go, Makefiles and many C projects use tabs; Python, JavaScript and Ruby communities mostly use spaces.
Yes, and it tells you the file is mixed first. Converting everything one way is usually the right fix, then commit that change on its own so the diff stays readable.
What people who use the Tabs to Spaces Converter think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Tabs to Spaces Converter. It takes half a minute and no account.
Write the first reviewModernise old AVI video into MP4 — usually far smaller, and playable again.
Turn "two hundred and forty-five" or "one lakh twenty thousand" back into digits.
INSERT statements into JSON records — typed values, several tables, or NDJSON.
Convert GPM, L/min, m³/h, CFM and cfs — and time how long a fill takes.
Post your Markdown notes on a forum — headings, lists, quotes and code converted.
Convert newtons, kilonewtons, kgf, lbf, dynes and kips in one table.
Flatten GeoJSON features into spreadsheet rows with longitude and latitude columns.
Clean, semantic HTML from a .docx — no Word class soup, images embedded.