FILE INSPECTOR

Four quick tools that answer one question: what is this file? Check its real type from the bytes inside, look at those bytes in a hex viewer, see the EXIF, GPS, XMP, and IPTC metadata a photo carries, and download a clean copy without it. Your file is opened in this browser tab and never uploaded.

Zero retention: your data never leaves this browser. Verify it yourself in DevTools.

Loading the file inspector.

About 2file

How Can You Verify That Your Data Never Leaves This Browser?

You do not have to take our word for it. Browser developer tools list every request a page makes, so you can watch 2file work and confirm that your file is never sent anywhere. The check takes about a minute.

  1. Open your browser developer tools with F12, or Cmd+Option+I on a Mac, and select the Network tab.
  2. Reload the page and let it finish. You will see the page's own files, its web fonts, and one anonymous page-view request. No file has been opened yet, so none of them can contain your data.
  3. Click the clear icon in the Network tab so that the log is empty.
  4. Open the file type checker, choose any file or a sample, then switch to the other tools with the same file open.
  5. Look at the Network tab again. It is still empty. Opening, identifying, viewing, searching, reading metadata, and making a clean copy made no request at all. The tools also show a live counter, read from your browser's own Resource Timing records, of the requests made since your file was opened. For extra proof, turn on offline mode after the page loads: every tool keeps working.

A file you open is read into this tab's memory, parsed by code that is already on the page, and, for the metadata remover, handed back to you as a new download. It is never uploaded, never stored in the browser, and gone when you close the tab. The only other request the site can make is the feedback form, and only when you submit it.

The production site also sends a Content-Security-Policy header that tells your browser to refuse connections to anywhere except this site and the anonymous analytics endpoint, so even a bug could not send your file elsewhere.

What Is 2file?

2file is a file inspector that runs in your web browser. It reads the bytes of a file to tell you what the file really is, shows those bytes in a hex and text view, reads the hidden metadata inside JPEG and PNG photos, and removes that metadata when you want to share a photo without it. It is built for people who care about what a file contains before they open it, send it, or post it: security and IT staff, investigators, journalists, and anyone careful with their privacy.

Every tool runs inside your browser tab. The file is read from your disk into the tab's memory and analyzed there by code that is already on the page. Nothing is sent to a server, nothing is stored, and closing the tab discards everything. Once the page has loaded, the tools keep working with your network switched off. Every tool costs $0, with no sign-up and no usage limit.

Which Tools Are Included?

  • File type checker: names the real format and MIME type from the file's magic bytes, and warns about extension mismatches, programs disguised as documents, double extensions, hidden text-direction characters, and data appended after the end of the format.
  • Hex viewer: hex and text side by side for a file of any size, go to any offset, a value inspector for integers, floats, and timestamps, search for text or byte patterns with wildcards, and a strings list you can download.
  • EXIF and metadata viewer: camera, settings, dates, GPS position, serial numbers, XMP, IPTC, comments, PNG text chunks, edit history, and the embedded thumbnail, with a privacy checklist that explains what each item reveals.
  • EXIF and GPS remover: a clean copy of a JPEG or PNG without EXIF, GPS, XMP, IPTC, comments, or thumbnails. The picture data is copied byte for byte, so there is no re-compression and no quality loss.

Why Check a File Type by Its Bytes?

A file name is just a label. Windows and macOS decide which program opens a file from the letters after the last dot, and anyone can change those letters. Most file formats, though, begin with a fixed signature called magic bytes: a PNG always starts with the bytes 89 50 4E 47, a PDF with %PDF-, a Windows program with MZ. Reading those bytes tells you what the file actually is, whatever it is called.

That matters when a download or an email attachment claims to be an invoice but is really a program, when a file will not open because it was renamed by mistake, or when an investigation needs to know what a folder of unnamed files contains. The file type checker recognizes more than 100 formats, looks inside ZIP-based files to tell a Word document from an Android app, and explains each warning in plain language.

What Can a Photo Reveal About You?

Phones and cameras write metadata into every photo they take, and many apps and websites pass it along untouched. The metadata viewer looks for each of these and explains what it found:

  • GPS coordinates, usually accurate to a few meters, plus altitude, the direction the camera faced, and the GPS time.
  • The date and time the photo was taken, often with the time zone, and the dates of later edits.
  • The camera or phone make and model, the lens, and the software that edited the photo.
  • Serial numbers of the camera body and lens, which link every photo taken with the same camera.
  • Names: the artist, copyright holder, camera owner, and people tagged in the picture.
  • Place names such as a city or country, captions, keywords, and comments.
  • An embedded thumbnail, which some editors do not update, so it can still show a crop or blur that was later removed.
  • An edit history that can list software, dates, and the original file names of earlier versions.

How Does the Metadata Remover Keep the Picture Intact?

Many tools remove metadata by decoding the image and saving it again. That works, but it re-compresses a JPEG, which loses a little quality each time, and it may still keep some fields. 2file takes a different approach: it rebuilds the file from the original's own image data, copied byte for byte, and leaves out only the metadata blocks.

For a JPEG that means the quantization tables, Huffman tables, frame header, and compressed scan data are copied exactly; the EXIF, XMP, IPTC, comment, and extra-image blocks are not. For a PNG the image data chunks are copied exactly; the text, EXIF, and time chunks are not. The color profile can be kept, because it holds no personal data and removing it can shift colors. If the photo was stored sideways, a tiny new EXIF block with only the rotation is written so it still displays the right way up. The clean copy is then read back and checked before you download it.

How Do You Remove the Location From a Photo Before Posting It?

  1. Open the EXIF and GPS remover and drop the photo on the page. It stays in your browser.
  2. Choose Remove all metadata, or Remove location only if you want to keep the camera and date details.
  3. Press Make a clean copy. The page lists what was removed and reads the clean copy back to confirm there is no GPS position left.
  4. Press Download and share the clean copy. Your original file is not changed.

Many social networks remove location data from public posts, but messaging apps, email, cloud links, and forums often send the original file as it is. Cleaning the photo yourself means you do not have to know which is which.

Who Is 2file For?

  • Security and IT staff checking a suspicious attachment or download before anyone opens it.
  • Investigators, auditors, and researchers who need to know what a file is and what it says about where and when it was made.
  • Journalists and activists protecting sources, who need to share photos without a location or a camera serial number.
  • People selling things online, posting from home, or sharing photos of children, who do not want to publish where they live.
  • Developers and students learning file formats, who want to see the bytes and the structure behind them.

What Does 2file Not Do?

  • It does not run, open, or scan files for malware. It reports what a file is and what it contains; it is not an antivirus.
  • Metadata viewing and removal cover JPEG and PNG in this version. Other formats can be identified and viewed as hex.
  • It does not decode camera maker notes, which use private formats. It reports their size, and removing metadata deletes them.
  • It does not hide what a picture shows. A face or a street sign can still identify a person or place; use 2redact to black out parts of an image or document.
  • It does not compute file hashes, unpack archives, rename files in bulk, or convert formats. Those jobs live in sister apps, listed below.

Those limits are deliberate. 2file does one job, inspecting a file, and does it without the file ever leaving your device.

How Does 2file Fit With the Other 2suite Tools?

2file is part of the 2suite.io privacy-first ecosystem, where every tool runs in the browser. To compute a SHA-256 or another checksum of a file, use 2toolbox Hash. For ZIP and GZIP, renaming, and text encodings there is 2toolbox. To redact text or areas in a document or picture, use 2redact; to convert a file to another format, 2convert. Hidden data in Word files is covered by 2doc, PDF tools by 2pdf, and personal data in text by 2pii.

Frequently Asked Questions

Is 2file really private?

Yes. Every tool runs in your browser tab. Your file is read into the tab's memory and never uploaded, stored, or logged. The page makes one anonymous page-view count when it loads, before you open anything, and sends feedback only if you submit the form. Each tool shows a live count of network requests since your file was opened, and you can confirm it in your browser's developer tools.

Does 2file collect analytics?

Only an anonymous page-view count when a page loads, used to see which tools are visited. It carries no file name, no file content, no metadata, and no search terms. Nothing you open or type in a tool is ever sent.

How big can a file be?

The file type checker and the hex viewer work on files of any size, because they read only the bytes they need. The metadata viewer and remover read the whole photo and accept files up to 200 MB.

Which file types can 2file identify?

More than 100 formats by their signature, including images, audio, video, archives, Office and OpenDocument files, PDFs, programs for Windows, macOS, Linux, and Android, fonts, databases, disk images, keys and certificates, and common text formats such as JSON, XML, HTML, and scripts.

Can 2file tell if a file is malware?

No. It can tell you that a file is really a program while its name says it is a document, that its name hides a second extension, or that data is attached after the end of the file. Those are warning signs, not a verdict. Use your security software or your IT team to scan suspicious files.

Does removing metadata reduce photo quality?

No. The clean copy reuses the original picture data byte for byte, so nothing is re-compressed. The page checks this for every clean copy and tells you how many bytes of picture data were copied unchanged.

Which photo formats are supported for metadata?

JPEG and PNG, including EXIF stored in PNG eXIf chunks and the hex-encoded EXIF that some tools write into PNG text. HEIC, WebP, TIFF, and raw camera files are identified but not read for metadata in this version; convert them to JPEG with 2convert first if needed.

Does 2file cost anything?

No. Every tool costs $0, with no account, no sign-up, and no usage limit.

Was this helpful?