DES Encryption

Encrypt text with the classic DES cipher

Free DES encryption tool. Encrypt and decrypt text with the classic 64-bit DES cipher — 56-bit key, 16 rounds, entirely in your browser.

How to use DES Encryption

  1. Type the text to encrypt (or paste hex ciphertext to decrypt).
  2. Enter an 8-character key.
  3. Click Encrypt or Decrypt — the result appears instantly, with a one-click copy button.

Features

  • Real DES algorithm — 16 Feistel rounds, 8 S-boxes, verified against the FIPS test vector
  • Encrypt and decrypt with the same 8-character key
  • Uppercase hex ciphertext, one click to copy
  • Works on any text — UTF-8 encoded, zero-padded to 64-bit blocks
  • Free and private — runs entirely in your browser

Frequently asked questions

What is DES encryption?

DES is the Data Encryption Standard, the symmetric block cipher standardised by NIST in 1977. It encrypts data in 64-bit blocks using a 56-bit key, running 16 rounds of a Feistel network with 8 substitution boxes (S-boxes). It was the dominant encryption standard for two decades and laid the groundwork for AES, which replaced it.

Is DES still secure?

No. A 56-bit key has only 72,057,594,037,927,936 possible keys, and modern hardware tries them fast: in 1998 the EFF purpose-built Deep Crack machine recovered a DES key in 56 hours, and in 1999 a distributed effort did it in under a day. Use this tool to learn how DES works or to read legacy DES data — for anything real, use AES instead.

How do I encrypt text with DES here?

Type your text and an 8-character key, then click Encrypt. For example, the key password with the text Hello gives the ciphertext 46A34F4738AC7B3E, and the key secret12 with DES test gives AF30A186A33441C7. Both were produced by this tool's own algorithm, which reproduces the official FIPS test vector exactly: key 133457799BBCDFF1 with plaintext 0123456789ABCDEF gives 85E813540F0AB405.

What key does the tool use?

An 8-character key. Your text is converted to bytes and padded or cut to exactly 8 bytes (16 hex characters) — that is the 64-bit DES key. The cipher's key schedule uses 56 of those bits; the other 8 are parity bits in the DES standard. Longer keys are cut at 8 characters, shorter ones are padded with zeros, so use the full 8 characters.

How do I decrypt DES ciphertext?

Switch to Decrypt, paste the hex ciphertext and enter the same 8-character key. The ciphertext must be hex only (other characters are ignored) and its length must be a multiple of 16 hex characters — one 64-bit block each. The tool strips the zero padding and returns your original text. A wrong key or wrong length gives an error or unreadable output.

Why is the ciphertext longer than my text?

DES works on fixed 8-byte blocks. Your text is encoded as UTF-8 and split into 8-byte blocks; a short final block is padded with zero bytes. So Hello (5 bytes) becomes one block and 16 hex characters, while Hello DES! (10 bytes) needs two blocks and comes out as 32 hex characters: E9167AA16C791F5BA401D50D28560341.

Why does the same text always give the same ciphertext?

This tool encrypts each block independently — the ECB mode of DES — with no initialisation vector, so identical plaintext blocks always produce identical ciphertext blocks. That is also why ECB is a poor choice for real data: repeated patterns stay visible. It is fine for learning and for short test strings, which is what this tool is for.

Is it free?

Yes, unlimited — and everything runs in your browser, so your text and key are never uploaded or stored.

Login to use this free online tool. Create a free account to get started.

Featured on Twelve Tools Hunt for Tools Featured on LaunchBuff Launch Llama Tools Launch your MCP Top Web Development Companies in the US - OnToplist.com Designer Listings Listed on SeeWhatNewAI Featured on SubmitMySaas Featured on AI Agents Directory Product Wing SaaS Wheel Featured on Stremit Featured on Thank John We Are Founders SubmitMySaas ShinyLaunch SaaS Tools Dir Featured on SaasHunt Product List Dir Featured on ShowMeBestAI Listed on Best-AI.org Featured on SaaSCity Listed on LaunchPact CodexFuse Solution on goodSaaS Featured on IndieLaunch Featured on BestAIApps AI X Collection Featured on SemiLaunch Listed on AlterBase We Like Tools codexfuse.dev LaunchClash Featured on Next Launch