Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Converters & Encoders
  3. File Encryption
Add to favorites

File Encryption

Encrypt any file with a password using AES-256-GCM, entirely in your browser, and decrypt it again later. Each file is checked before download.

Runs locally in your browserMore converters & encodersJump to full guide
Related readingA Practical Guide to Data Encryption: Protecting Information at Rest and in Transit10 min

Initializing in your browser…

You might also like

Text Encryption & Encoding

Encrypt text with a passphrase using AES-256-GCM, or encode and decode Caesar, Vigenere, Base64, Morse and more, with each method's real strength explained.

PDF Password Protector

Password-protect a PDF with AES-256, choose what readers may do, or change the password of a protected PDF.

URL Encoder/Decoder

Percent-encode and decode URLs as you type in four character sets, build query strings, and take any URL apart parameter by parameter.

An example conversion

You want to email a short text file containing account details, protected by the passphrase "correct horse battery".

File and password

small.txt, 45 bytes
Password: correct horse battery (typed twice)
What File Encryption produces

Result

Strength: 124 bits if chosen at random

Encrypted: small.txt.tbxenc, 171 B
Decrypted again and compared: identical to the original
  original    SHA-256 b47cc0f104b62d4c7c30bcd68fd8e67613e287dc4ad8c310ef10cbadea9c4380
  round trip  SHA-256 b47cc0f104b62d4c7c30bcd68fd8e67613e287dc4ad8c310ef10cbadea9c4380

AES-256-GCM in 1 authenticated chunk
PBKDF2-HMAC-SHA256, 600,000 iterations, recorded in the file
45 B in, 171 B out (126 B of header and authentication tags)

The 45-byte file grows by 126 bytes: a header holding the format version, the iteration count and a random salt, the encrypted file name and type, and a 16-byte authentication tag for each part. The tool then opens the new file with the same password and compares fingerprints, and both SHA-256 values match, so the file can be sent with confidence. The recipient chooses Decrypt, drops in small.txt.tbxenc and types the passphrase to get small.txt back; a single wrong character in the password, or a single changed byte in the file, is reported instead of producing garbage.

What this converter does

Lock any file with a password using AES-256-GCM, the same strong encryption used by banks and messaging apps, and open it again later on this page. Everything happens in your browser, so the file and the password never leave your device, and every encrypted file is checked by opening it again before you download it.

How it works

Choose Encrypt, drop in a file of any type, and type a password twice. The tool turns the password into a 256-bit key with PBKDF2-HMAC-SHA256, using 600,000 iterations by default, the figure OWASP currently recommends, and a random salt so the same password never produces the same key twice. The file is then encrypted with AES-256-GCM in 1 MB chunks, each with its own authentication tag, so large files are handled piece by piece and any change to the encrypted file is detected when it is opened. The result downloads with a .tbxenc extension. The original name and file type are stored inside the encryption too, so the encrypted file reveals nothing about what it contains except its approximate size.

Before you download, the tool decrypts the new file again and compares a SHA-256 fingerprint of the result with the original, for files up to 100 MB. If they did not match, it would tell you not to delete the original. You can switch this check off under More options for speed.

To open a file, choose Decrypt, drop in the .tbxenc file and enter the password. Every setting needed to decrypt is stored in the file itself, the iteration count and salt included, so there is nothing to choose. The tool tells you plainly what went wrong when something does: a wrong password, a file that was altered after encryption, a file that is incomplete, or a file that was not made by this tool. Files made by an older version of the tool still open; those encrypted with AES-CBC, an option that version offered, are marked, because that mode cannot detect tampering.

Your password is the only key. There is no recovery and no back door, so a forgotten password means a lost file. While you type, the tool estimates the password's strength in bits and how long a high-end graphics card would need to guess it if it had been chosen at random. A long passphrase of several unrelated words is both easier to remember and much harder to guess than a short password with symbols. Passwords are normalised to the standard Unicode form before use, so a password with accented letters works however your keyboard produces them.

This tool is ideal for protecting a document before emailing it, storing a backup in the cloud, or putting sensitive files on a USB stick. It is not a replacement for full-disk encryption, and the person you share a file with needs the password and this page, or a program that implements the same documented format, to open it.

How to use

  1. 1Choose Encrypt and drop in the file you want to protect.
  2. 2Type a strong password twice. Check the strength estimate under it.
  3. 3Press Encrypt file, wait for the check to finish, and press Download to save the .tbxenc file.
  4. 4To open it later, choose Decrypt, drop in the .tbxenc file, type the password and press Decrypt file.
  5. 5Download the original file, restored with its name and type.

Key features

  • AES-256-GCM encryption with a per-chunk authentication tag
  • Password-based key derivation with PBKDF2-HMAC-SHA256 at 600,000 iterations by default
  • Every encrypted file opened again and compared before download (up to 100 MB)
  • Clear errors for a wrong password, a tampered file or an incomplete file
  • Original file name and type hidden inside the encryption
  • Works on large files, processed 1 MB at a time with progress and Cancel
  • Password strength estimate in bits with the time to guess it
  • Files from older versions of the tool still open
  • Everything runs in your browser; nothing is uploaded

Tips & best practices

  • Use a passphrase of four or more unrelated words; it is easier to remember and harder to guess than a short complex password.
  • Send the password through a different channel from the file, such as a phone call or a messaging app.
  • Keep the round-trip check switched on for anything important.
  • Test that you can decrypt a file before deleting the original.

Where this fits

  • Emailing a sensitive document

    Encrypt a tax return or a contract before attaching it, and give the recipient the password by phone or another channel, never in the same email.

  • Cloud backups

    Encrypt files before uploading them to a cloud drive, so the provider stores only data it cannot read.

  • USB sticks and shared computers

    Keep personal files encrypted on a memory stick that could be lost, or on a computer other people use.

  • Archiving

    Encrypt a ZIP of old records for long-term storage; the format stores everything needed to open it again later.

Frequently asked questions

What happens if I forget the password?

The file cannot be opened. There is no reset or recovery, by design: anyone who could recover it for you could also open it without you. Store the password in a password manager.

Is my file uploaded anywhere?

No. Reading, encrypting and decrypting all happen inside your browser. The page never sends the file or the password over the network.

How secure is AES-256-GCM?

It is the standard choice for strong encryption today, used in TLS, disk encryption and messaging apps. In practice the weak point is the password: a long, random passphrase makes the file effectively impossible to open without it.

Why does encryption take a moment before it starts?

Turning your password into a key runs 600,000 rounds of PBKDF2 on purpose. It takes a fraction of a second for you, but it makes every guess an attacker tries just as slow.

What does "the file has been altered" mean?

Each chunk carries an authentication tag. If even one byte of the encrypted file changed, for example through corruption or tampering, the tag no longer matches and the tool refuses to return the altered data.

Can I open the file without this website?

The format is documented: a header with the settings, then AES-256-GCM chunks keyed with PBKDF2-HMAC-SHA256, so any program that implements it can decrypt the file with the password. Keep a copy of the original too if you might need it without this tool.

Further reading

  • A Practical Guide to Data Encryption: Protecting Information at Rest and in Transit10 min read

Private by design

Conversions run on your device in JavaScript. The values you enter are never sent over the network.