2/4/8 SpacesReversibleFree

Convert tabs to spaces or spaces to tabs

function hello() {
    const x = 1;
    return x;
}
Share:Copied!
Was this tool helpful?

Get a free API key + new tools as they ship

100 calls/day, no card, no spam. Built by one person, in public.

About Tab/Space

Most online tools for this task bury what you need behind ads and forms. Tab/Space takes the opposite approach: load the page, do the job, leave. Processing runs locally in your browser using modern Web APIs. Nothing is uploaded, nothing is logged, and there is no quota to worry about for casual use. Like everything else in the utility collection, it is free, ad-light, and works on mobile as well as desktop.

When you'd reach for Tab/Space

  • You need to handle a one-off task right before a meeting and don't have time to install anything.

    Anyone working remotely on a borrowed or restricted machine.

    Open the page, get the result, paste it into your doc — under a minute.

  • You're on a public or shared machine and don't want to leave traces of what you're working on.

    Travelers, contractors, anyone working from a friend's computer.

    Nothing is uploaded, nothing persists if you're not signed in.

  • You're hitting the daily limit of a paid SaaS and need a backup option for a single quick job.

    Marketers and ops people whose primary tool is metered.

    Stay productive without burning credits.

  • You're cleaning up a folder of files that accumulated over a project and need to standardize them.

    Designers, writers, and developers wrapping up deliverables.

    Drop each file in, copy the output, move on.

Frequently asked about Tab/Space

Do I need to create an account to use Tab/Space?
No. Tab/Space works without any signup. We only ask for an email if you decide to subscribe to a paid plan.
What browsers does Tab/Space support?
Every modern browser released in the last three years: Chrome, Firefox, Safari, Edge, Brave, Opera.
Can I use Tab/Space commercially?
Yes. The output of Tab/Space belongs entirely to you, with no licensing restrictions.
Does Tab/Space work on mobile?
Yes, Tab/Space is fully responsive and tested on iOS Safari and Android Chrome.
Are my files uploaded to a server when I use Tab/Space?
Tab/Space processes everything in your browser using local APIs. Your files never leave your device.