Indent / Unindent Text — Fix Leading Space
Add or remove leading spaces or tabs on each line for code blocks and nested lists.
How it works
- 1Paste or type your text in the input field
- 2Click "Apply Indent" — processing happens in your browser
- 3Copy the result or download as a text file
What to do next
About Indent/Unindent Text
Indent/Unindent Text is shaped around how people actually use text processing utilities online: open the page, drop in a file, get the result. Add or remove leading spaces or tabs on each line for code blocks and nested lists. The interface stays out of the way once the work begins so the engine can use the available CPU and memory for the actual transformation.
The processing pipeline is straightforward: your input is parsed by standard browser APIs, transformed according to the options you select, and serialised back into a downloadable result. The 0 MB per-file ceiling matches what a typical browser tab can handle without paging to disk.
The right moment to reach for Indent/Unindent Text is when you have a focused text processing job that fits inside a browser tab. Open the page, drop in the file or paste your input, choose the options that matter, and the tool returns the result.
Because everything runs in the page, the tool scales the same way for one user or a million — there is no per-user backend cost. The page is static, the engine is the same JavaScript bundle for every visitor, and the work happens on the visitor's own device. That keeps the tool free and keeps it fast on the first interaction.
The hard constraints are easy to remember. Maximum input: 0 MB. Multiple files per run: no — one input at a time, by design, to keep results predictable. The same controls apply on every run.
As a workflow component, Indent/Unindent Text is the part you reach for when a single, well-defined text processing step needs to happen. It performs that step and returns a standard file you can carry into the next part of your pipeline.
Common audiences for Indent/Unindent Text include support agents standardising replies and students formatting essays, but plenty of people land on the page through a one-off search and never come back — that is also fine. The tool is built to be useful even when you only ever need it once.
When the job finishes, Indent/Unindent Text hands you the result as a sensibly named file. Filenames are derived from your input where possible, so a quick batch of jobs leaves you with a tidy folder rather than a pile of generic "output (3)" files. Nothing is auto-saved on Favtoo's side because nothing was ever sent there.
Some notes on the design of Indent/Unindent Text. The page is intentionally narrow: one input, the controls relevant to the task, and one output. Adding unrelated features would make the common case slower for the majority of users, so the surface is held to what people actually use.
Indent/Unindent Text is structured around the idea that a useful tool should be its own page. Open the page, do the work, close the tab — the page is the entire product. There is no onboarding flow because there is nothing to onboard into.
Useful patterns when working with Indent/Unindent Text: keep the input file open in another tab so you can compare against the result; give the output file a descriptive name when saving so you can find it later (the default name is sensible but generic); and treat each run as independent — the tool has no concept of "history", which means you cannot accidentally pollute one job with leftovers from another.
Indent/Unindent Text is built around the moment of need: a focused page you open when you have a specific task, complete the task, and close. The catalog contains many adjacent tools so the same model serves the surrounding parts of a typical text processing workflow.
When something goes wrong, the cause is usually one of three things: a malformed input, a browser that is out of memory, or a corporate proxy that is interfering with the page's static assets. The first two are easy to diagnose; the third typically requires asking your IT team to allow standard browser APIs to load.
If Indent/Unindent Text solved your problem, sharing the page link with someone who has the same problem is the most useful thing you can do. The catalog grows mostly through word of mouth; visitors arriving through a recommendation tend to be the ones the tool serves best.
How it works
- 1Land on the Indent/Unindent Text page. The tool is ready to use the moment the page renders.
- 2Select the text file you want to process — drag-and-drop and the file picker both work.
- 3Tweak the controls if the defaults are not quite right for your input. The options are kept short and labelled in plain language.
- 4Trigger processing. standard browser APIs reads your input, applies the transformation, and writes the result back into the page.
- 5Grab the output as soon as the run completes. You can also copy the result instead of downloading if the next tool in your workflow accepts pasted input.
- 6Re-run with different settings as often as you want. Each run produces a fresh output and the original file on disk is never modified.
Common use cases
- De-duplicate a list of email addresses pulled from a form export using Indent/Unindent Text.
- Convert a column of names into a comma-separated list for a script.
- Find and replace dozens of variants of a phrase in one pass.
- Sort a list of items alphabetically before publishing it.
- Strip messy formatting out of copy pasted from a PDF.
- Generate a slug from a long article title.
- Encode user input safely before pasting it into HTML.
- Count the words in a draft to check it fits a brief.
- Re-case a title from ALL CAPS to Title Case.
- Reformat a JSON blob copied from a log into something readable.
FAQ
Can I mix tabs and spaces safely?
Mixing can confuse linters — pick one indent style per snippet or normalize in your editor after previewing here.
What does unindent do on uneven indents?
It removes one level at a time from the start of each line until none remain or lines are flush left.
Will empty lines be changed?
Usually empty lines stay empty so paragraph spacing in pasted code is preserved.
Is this a formatter for a specific language?
It is a mechanical line-prefix editor — run your language formatter afterward for syntax-aware layout.
Is pasted source code uploaded?
No — indentation changes are applied locally in JavaScript.
Can I indent only a selection?
Paste only the lines you want to change; global tools affect the whole textarea contents.
Does Indent/Unindent Text ask for any browser permissions?
Indent/Unindent Text only needs the standard web platform — file picker access for the inputs you choose to load, and optionally clipboard access if you copy the result rather than downloading it. There is no microphone, camera, geolocation or background-permission request, because none of those are needed for the work the tool does.
Is there a desktop version of Indent/Unindent Text?
No installation is needed. Indent/Unindent Text runs as a normal web page, with no browser extension, no native helper, and no separate desktop client to download. That is partly a privacy choice — extensions can request broad permissions, while a regular page is sandboxed by default — and partly a convenience one: you can use Indent/Unindent Text on any computer you have temporary access to without leaving anything installed on it.
How is Indent/Unindent Text different from desktop apps that do the same thing?
Desktop apps usually have more advanced features but require installation, maintenance and (often) a licence. Paid online tools are convenient but route your file through their servers and gate downloads behind accounts. Indent/Unindent Text sits in between: free, instant, and private, but intentionally narrow in scope. For one-off jobs and the common text processing operations, it is usually the lowest-friction choice; for highly specialised work, a dedicated app is still the right answer.
Are there any restrictions on using Indent/Unindent Text at work?
Indent/Unindent Text can be used for personal and commercial work alike — there is no separate "business" licence to purchase. The output you generate is yours to use however you want, including in client deliverables, internal documents, or commercial products. Favtoo's only ask is fair, individual use; the tool is not designed to be embedded as a backend service or wrapped behind an API for resale.
Will I notice a difference in the output from Indent/Unindent Text?
Indent/Unindent Text is built to preserve quality wherever the underlying text format allows it. Operations that are mathematically lossless (e.g. structural transformations, lossless re-encoding) round-trip with no perceptible change. Operations that involve a lossy codec inevitably introduce small artefacts at the byte level, but the defaults aim at the sweet spot where output looks or sounds the same to a normal viewer or listener while still being meaningfully smaller or faster than the input.
Is Indent/Unindent Text mobile-friendly?
Indent/Unindent Text runs in any modern mobile browser — Safari, Chrome, Firefox and the in-app browsers in most messaging apps all support the underlying APIs. Performance depends on the device: a recent phone handles typical inputs nearly as fast as a laptop, while older devices may take a few seconds longer near the 0 MB ceiling. The interface lays out cleanly on small screens, so you do not need to pinch-zoom to see the controls.
Does Favtoo keep a copy of files I process with Indent/Unindent Text?
Favtoo keeps no copy of your file because Favtoo never receives your file. Indent/Unindent Text runs entirely in your browser, the input is held only in your tab's memory, and closing the tab discards it. There is no opt-in cloud history, no "recent jobs" panel synced to an account, and no server-side retention to configure — the architecture simply has nowhere for your file to be stored.
Can I process multiple files at once with Indent/Unindent Text?
Indent/Unindent Text processes one input at a time by design — it keeps memory usage predictable on lower-end devices and makes results easier to verify. To handle a folder, run the tool once per file; the page stays loaded between runs and remembers your last-used settings, so the second run is essentially instant.
Where does my file actually go when I use Indent/Unindent Text?
Your file is processed inside your browser by standard browser APIs. The engine reads the file's bytes from your tab's memory, computes the result, and writes the result back into the tab. You can confirm what the page does by opening developer tools and watching the Network tab during a run — the requests you see are for the tool's static assets only.