LocalDoc Kit stays on this phone
A darkroom for your files · in daylight

LocalDoc Kit

Give it a file. It works out what the file is and shows what it can do.

✓
Your files never leave this phone.Not uploaded, not stored online, not seen by anyone, not even by us.

Or see what it can do

Further in · the special ones

The Reading Room

For the harder things: whole books made readable, and hard words explained from real sources, never guessed.

Being made

Translate, side by sideThe original and the translation next to each other, line by line: the Gita, Premchand, Tagore.

Also waiting once you give a file: and .

For the counter

Forms, exams, admissions & passports

Photos, signatures and papers for an application, each to the exact rule.

Passport and visa photos, per countryEvery country’s photo size and background, from its official page.
Words used on this page
PDF
A file that looks the same on every phone and printer. Most forms and affidavits are PDFs.
A4, A3, A5
Paper sizes. A4 is 210 × 297 mm, the normal Indian office sheet. A3 is two A4s side by side; A5 is half an A4. All share the same shape, so shrinking A3 to A4 loses nothing.
Letter, Legal
American sizes. Legal (216 × 356 mm) is taller than A4, which is why converted documents often refuse to print on A4.
Booklet
Sheets printed on both sides, stacked and folded in the middle, like a small book. Page 1 and the last page land on the same side of the outer sheet, so the pages must be printed out of order; this page works that order out.
Signature
A printer's word for one folded bundle of sheets. A thick book is several signatures stacked, because more than about 15 sheets will not fold flat. This page calls them "booklets".
Binding margin (gutter)
Extra blank space on the edge of the page that gets bound - by staples on the side, a spiral or a file - so the binding never covers the words. Printed on both sides, the back of each sheet is bound on its right-hand edge, so its margin moves to the right.
Creep
When a stack of sheets is folded, the inner sheets have to go round the outer ones, so they stick out a little at the open edge (about 0.1 mm per sheet for office paper). Correcting for creep moves those pages towards the fold by the same amount, so the margins match.
Page edges (finding them)
The Scan tab looks for the biggest bright, four-sided patch in the photo and puts the corners there. It only does this when it is sure; on a white desk, or when the page fills the whole photo, it leaves the corners for you to drag.
Flip on short edge
A printer setting for two-sided printing on a sideways sheet: the back is printed so it reads the right way up after you turn the sheet over along its short side. The other choice, long edge, prints every back upside down for a booklet.
Portrait / landscape
Upright / sideways.
KB
Kilobyte, a measure of file size. 1000 KB is about 1 MB. Exam portals often say "photo under 50 KB".
px
Pixel, one dot of a photo. "200 × 230 px" means 200 dots wide, 230 tall.
Scan
Here: a phone photo of a paper page, turned into a flat, clean page as if it had gone through a scanner.
Straighten
A page photographed at an angle looks like a slanted shape. Placing its four corners lets the page stretch it back into a true rectangle.
Ink saver
Printing a grey photo of a page wastes toner on the grey. Turning the paper white and the writing pure black uses ink only where there are words.
Crop
Cutting a photo down to the part you keep. The dashed frame shows exactly the part that will be saved.
Face guide
A dashed oval drawn over the preview to show how big the face should be. Exams reject photos where the face is a small dot in a big background. The oval is only on the screen, never in the saved photo.
White background
Portals reject photos with a room, wall or pattern behind the person. This option finds where the person ends and paints everything else white, keeping fine hair at the edges. Your face and clothes are left exactly as they were.
Background colour
Most exam portals ask for white. A few notices ask for off-white, light blue or light grey instead; pick one of those only when your notice says so. Changing it does not run the model again, so it is instant.
Touch-up brush
After the background is made plain, a finger on the preview can paint "keep this" (hair or a shoulder that vanished) or "remove this" (a chair or flag that survived). It changes only the model's map of where the person is; your photo's own pixels are never painted.
Model
Here: a small program trained on many photos to tell a person from what is behind them. It runs inside this page on your own phone, which is why the photo never has to be uploaded. This one is MODNet (free, Apache-2.0 licence).
Zoom
Enlarging the photo inside the frame, so the face fills more of it.
DPI
Dots per inch: how many pixels make one inch when printed. At 200 DPI, 3 cm is about 240 pixels.
Preset
Numbers already filled in for one exam, copied from that exam's official notice. The note under it names which notice.
JPG
The usual photo format. It gets smaller by dropping detail the eye barely notices.
PNG
A picture format that keeps every pixel exactly and can have see-through parts. Files are bigger than JPG.
WEBP
A newer picture format from Google: smaller than JPG at the same sharpness, and it can keep every pixel. A few older websites do not accept it.
Format
The kind of file, shown by the ending of its name (.jpg, .png, .pdf). Changing the format rewrites the file in another kind; the picture should look the same.
Text recognition
A program that looks at a picture of words and works out which letters they are, the way you read a sign. It can misread a blurred or tiny letter, so it also says how sure it was of each word; the words it was unsure of are marked for you to check. (Its technical name is OCR, optical character recognition.)
Screenshot
A picture of what was on the screen, taken by the phone itself. The words in it are only dots of colour until they are read back out.
.txt
A file of plain words and nothing else: no bold, no pictures. Every phone and computer opens it.
PowerPoint
Microsoft’s program for making slides: the pages shown on a screen behind someone giving a talk.
Handout
Printed pages that go with a talk, so listeners can follow and write on them. Here: each slide’s words and its speaker notes, one after another.
Speaker notes
What the person giving the talk wrote under each slide for themselves: the audience never sees them on the screen. PowerPoint keeps them in the same file as the slides.
.pptx
A PowerPoint file: a set of slides. Google Slides, Keynote and WPS open it too. (The older .ppt kind must be turned into .pptx first.)
Hidden slide
A slide the author kept in the file but told PowerPoint to skip when showing and printing. It is left out here in the same way.
.zip
One file that holds several files packed together. Phones open it in the Files app and show the pictures inside.
EXIF
Hidden notes a camera writes inside a photo: which way up it was held, the date, the phone model, sometimes the place. Changing the format here keeps the photo upright and does not copy these notes.
.docx
A Word file. When a PDF is turned into Word, each printed line can become its own paragraph and the spacing becomes rows of spaces, which is why pressing Backspace makes whole lines jump.
OpenDocument
The free file kinds made by LibreOffice and Google Docs’ “download as”: .odt is a text file (like Word), .odp is slides (like PowerPoint), .ods is a sheet (like Excel). Inside, like a .docx, it is a .zip of parts, and its pictures are kept as their own files.
Linked picture
A picture a file only points to, by its internet or disk address, instead of carrying it inside. The file shows it only while that address still works. It cannot be taken out of the file, because it was never in it; fetching it would tell that address you opened the file, so it is counted and never fetched.
Fake gap
Spaces or tabs a converter inserted to copy the look of the PDF. They look like normal spacing until you edit.
Voice note
The recording WhatsApp makes when you hold the microphone button. It is not an MP3: it is Opus inside an .opus or .ogg file, and some websites, older players and upload forms refuse it.
MP3
The oldest widely used way of squeezing sound into a small file. Nothing plays MP3 badly, which is the only reason to use it: every phone, website, car stereo and upload form accepts one.
Opus
A newer, cleverer way of squeezing sound, made for speech over the internet. It sounds as good as MP3 at about a quarter of the size — which is why an MP3 made from a voice note is usually several times bigger than the voice note was. The sound is the same; only the file is bigger.
AAC
What iPhone voice memos, Android recordings and the sound inside most videos are. Newer than MP3, smaller at the same quality, and accepted almost as widely.
FLAC
Sound squeezed with nothing at all thrown away, like a .zip for music. Big files, perfect copies.
Lossy
A way of making a file smaller by throwing away detail a person is unlikely to notice. MP3, Opus and AAC are all lossy, so an MP3 can never be compared with its original sample by sample — only by whether it still sounds the same, which is what this page checks.
Samples a second
How many times a second the sound was measured when it was recorded (also called the sample rate). 44,100 is a CD; 48,000 is a phone or a video; 16,000 is plenty for speech. It sets the highest note the recording can hold — half the rate, and no more.
kbps
Kilobits per second: how much room the sound is given each second. More means a bigger file and finer detail. A voice note spends about 24 kbps; music wants 128 or more. This page picks the number from what the recording actually carries, so it never spends 128 kbps storing silence.
Mono, stereo
One channel of sound, or two (left and right). A voice note is mono. A recording that arrives mono stays mono — making it stereo would double the size and add nothing.
Played back to check it
After the MP3 is written it is opened again and compared with your original: the same length, the same loudness, the loud and quiet parts in the same places, and the same highest note. If any of those has moved, the MP3 is thrown away and the page says what was wrong instead of handing you a bad file.
Network request
Any time a page talks to the internet. Zero after you pick a file means nothing about the file was sent anywhere. Ticking White background, or tapping "Make it fit anyway" on a PDF, makes the page download that tool once; the counter still counts those downloads and names them, so nothing is hidden.
Licences and privacy

What this page collects: nothing reaches us - there is no server of ours, no account, no sign-in, no analytics, no tracking and no advert. Your files are read and rebuilt on this phone and are not uploaded; the only two tools that send anything you give them are named below, and each asks first.

What stays on this phone, in this browser only: the details you save in Your details (which can include an Aadhaar number, kept as plain text in the browser until you tap Forget them); AI keys, only if you tick remember; word lists made for a book (Forget the saved word lists); your reading place and text size in the Book reader; and the speech model once downloaded. Clearing this site's data in your browser removes all of it. Your files themselves are never stored.

When it talks to the internet, and the counter above names every one: opening the single-file copy fetches nothing, because its fonts and its PDF and zip helpers (pdf-lib, JSZip) are inside it (the development copy, web/filer.html, loads those two from cdnjs each time it opens); the first time a tool needs a bigger helper (a PDF reader, the text recogniser, a small model) it is downloaded from jsDelivr, cdnjs, PyPI (files.pythonhosted.org) or Hugging Face, with nothing from your file. Two tools send something you give them: Is this book free? sends the book title you type to Open Library, Wikidata and Google Books (and your own Google Books key, only if you paste one, to Google Books alone); Book words sends parts of the book's text to Google Gemini or Groq, only with a key you paste in yourself and only after you tick "Yes, send this book's text" for that book. Those services' own privacy policies then apply. The microphone is used only when you tap Start the microphone. The full privacy policy is in privacy.html beside this app.

Health tools (prescription, lab report, medicine leaflet) give general information only. They are not a medical device and not medical advice: ask your doctor or pharmacist before you start, stop or change anything.

No warranty. This app is free and comes as it is, with no warranty. Keep a copy of any file before you change it, and check every result before you rely on it, submit it or send it. Tools that explain or fill forms, notices and official documents give general information, not legal advice, and are not connected with any government body, court, college or company they name. The full terms are in LICENSE.txt beside this app.

Parts made by others, with their licences. The full list, with versions and source links, is in THIRD-PARTY-NOTICES.md beside this app.

Inside this file
docx-preview (Apache-2.0).
White background
MODNet (Apache-2.0), in the ONNX conversion Xenova/modnet (Apache-2.0), run by onnxruntime-web (MIT); downloaded the first time, not inside this file.
PDF and Word
pdf-lib (MIT); pdf.js (Apache-2.0); JSZip (MIT); Pyodide and its micropip (MPL-2.0); pdf2docx (MIT); python-docx (MIT); pypdf (BSD-3-Clause); pdfminer.six (MIT); PDFium (BSD-3-Clause) in the @hyzyla/pdfium WebAssembly build (MIT), with FreeType (FreeType License: portions of this software are copyright The FreeType Project, www.freetype.org; all rights reserved), libjpeg-turbo (this software is based in part on the work of the Independent JPEG Group), OpenJPEG (BSD-2-Clause), Little CMS (MIT), zlib, libpng, AGG and Abseil (Apache-2.0); pdfplumber (MIT); openpyxl (MIT); et_xmlfile (MIT); numpy, opencv-python, lxml, fonttools, Pillow, cryptography, cffi, pycparser, six, charset-normalizer, typing-extensions (their own open licences, as built by Pyodide); OpenSSL 1.1.1w under cryptography: This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/). This product includes cryptographic software written by Eric Young (eay@cryptsoft.com).
Pictures and text
tesseract.js and tesseract.js-core (Apache-2.0) with the Tesseract English data (Apache-2.0).
Sound and video
lamejs (LGPL-3.0, loaded unmodified as its own file; LAME source at lame.sourceforge.io); mediabunny (MPL-2.0); transformers.js (Apache-2.0); onnxruntime-web (MIT); Whisper small (Apache-2.0); Silero VAD (MIT); IndicTrans2 (MIT).
Words and data
Wiktionary language tags (CC BY-SA 4.0); MedlinePlus word parts (US government work); Norvig word counts; the Jan Aushadhi product list (PMBI) and the National List of Essential Medicines 2022 (CDSCO); short quotations from government notices, each with its source named beside it.
Fonts
Fraunces, Outfit and Chivo Mono (SIL Open Font License 1.1), carried inside this page.
OpenSSL 1.1.1w licence, in full (its terms ask for the text itself, not a link)
  LICENSE ISSUES
  ==============

  The OpenSSL toolkit stays under a double license, i.e. both the conditions of
  the OpenSSL License and the original SSLeay license apply to the toolkit.
  See below for the actual license texts.

  OpenSSL License
  ---------------

/* ====================================================================
 * Copyright (c) 1998-2019 The OpenSSL Project.  All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 *
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 *
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in
 *    the documentation and/or other materials provided with the
 *    distribution.
 *
 * 3. All advertising materials mentioning features or use of this
 *    software must display the following acknowledgment:
 *    "This product includes software developed by the OpenSSL Project
 *    for use in the OpenSSL Toolkit. (http://www.openssl.org/)"
 *
 * 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to
 *    endorse or promote products derived from this software without
 *    prior written permission. For written permission, please contact
 *    openssl-core@openssl.org.
 *
 * 5. Products derived from this software may not be called "OpenSSL"
 *    nor may "OpenSSL" appear in their names without prior written
 *    permission of the OpenSSL Project.
 *
 * 6. Redistributions of any form whatsoever must retain the following
 *    acknowledgment:
 *    "This product includes software developed by the OpenSSL Project
 *    for use in the OpenSSL Toolkit (http://www.openssl.org/)"
 *
 * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
 * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE OpenSSL PROJECT OR
 * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
 * OF THE POSSIBILITY OF SUCH DAMAGE.
 * ====================================================================
 *
 * This product includes cryptographic software written by Eric Young
 * (eay@cryptsoft.com).  This product includes software written by Tim
 * Hudson (tjh@cryptsoft.com).
 *
 */

 Original SSLeay License
 -----------------------

/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
 * All rights reserved.
 *
 * This package is an SSL implementation written
 * by Eric Young (eay@cryptsoft.com).
 * The implementation was written so as to conform with Netscapes SSL.
 *
 * This library is free for commercial and non-commercial use as long as
 * the following conditions are aheared to.  The following conditions
 * apply to all code found in this distribution, be it the RC4, RSA,
 * lhash, DES, etc., code; not just the SSL code.  The SSL documentation
 * included with this distribution is covered by the same copyright terms
 * except that the holder is Tim Hudson (tjh@cryptsoft.com).
 *
 * Copyright remains Eric Young's, and as such any Copyright notices in
 * the code are not to be removed.
 * If this package is used in a product, Eric Young should be given attribution
 * as the author of the parts of the library used.
 * This can be in the form of a textual message at program startup or
 * in documentation (online or textual) provided with the package.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. All advertising materials mentioning features or use of this software
 *    must display the following acknowledgement:
 *    "This product includes cryptographic software written by
 *     Eric Young (eay@cryptsoft.com)"
 *    The word 'cryptographic' can be left out if the rouines from the library
 *    being used are not cryptographic related :-).
 * 4. If you include any Windows specific code (or a derivative thereof) from
 *    the apps directory (application code) you must include an acknowledgement:
 *    "This product includes software written by Tim Hudson (tjh@cryptsoft.com)"
 *
 * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 *
 * The licence and distribution terms for any publically available version or
 * derivative of this code cannot be changed.  i.e. this code cannot simply be
 * copied and put under another distribution licence
 * [including the GNU Public Licence.]
 */
Every licence, in full (each part's own text, from the release this page uses)

Opening...