CacheHackCacheHack
Back to Tutorials
Puzzle CreationBeginner5 min read

How to Create a Puzzle Using Base64

Base64 encoding produces technical-looking strings that are perfect for computer-themed or modern mystery caches. The telltale equals signs make it easy for solvers to identify.

What is Base64?

Base64 encodes binary data using 64 printable ASCII characters (A-Z, a-z, 0-9, +, /). Originally designed for email attachments, it's now ubiquitous in web development.

  • Output characters: A-Z, a-z, 0-9, +, /
  • Padding: = or == at the end (the giveaway!)
  • Size increase: Output is ~33% longer than input

Why Base64 is Easy to Spot

Base64 has distinctive characteristics:

Typical Base64:

TG9vayB1bmRlciB0aGUgYnJpZGdl

With padding:

SGVsbG8gV29ybGQ=

Key identifier: If it ends with = or ==, it's almost certainly Base64. The mix of uppercase, lowercase, and numbers is also distinctive.

Step 1: Encode Your Message

Use our Base64 tool to encode:

Plaintext:

N 51 30.123 W 000 07.456

Base64 encoded:

TiA1MSAzMC4xMjMgVyAwMDAgMDcuNDU2

Open Base64 Tool

Step 2: Contextualise the Puzzle

Base64 works best with technical or modern themes:

Hacker/Tech Theme

"You've intercepted an encrypted transmission..."

Email/Web Theme

"This attachment was found in an old email server..."

Spy/Espionage Theme

"The agent's final transmission used standard encoding..."

QR Code Bridge

Encode Base64 in a QR code for double encoding.

Related Encoding Systems

Consider these alternatives for variety:

Base32

Uses only uppercase A-Z and 2-7. Looks more "alien".

ASCII85 (Base85)

More compact, uses more special characters.

Hexadecimal

Only 0-9 and A-F. Classic "computer code" look.

Difficulty Variations

Easy (D1-D1.5)

  • • Plain Base64 with visible padding (=)
  • • Hint about encoding in description
  • • Short message (coordinates only)

Medium (D2-D2.5)

  • • No hints about encoding type
  • • Message length avoids padding (no = sign)
  • • Mixed with irrelevant "data"

Hard (D3+)

  • • Double encoding (Base64 of ROT13, etc.)
  • • Split across multiple locations/images
  • • Use Base32 or ASCII85 instead

Complete Example Puzzle

Cache Title: "Data Packet"

Cache description:

"While monitoring network traffic, our security team intercepted this suspicious data packet. The encoding looks standard, but the contents are... interesting.

Can you decode what was being transmitted?"

VGhlIGNhY2hlIGlzIG5lYXIgdGhlIG9sZCBvYWsgdHJlZQ==

Solution:

Recognise Base64 from the == padding and character set.
Decode: The cache is near the old oak tree

Pro Tips

  • Control the padding. Add or remove spaces from your message to control whether = padding appears. No padding = slightly harder.
  • Keep it short. Long Base64 strings are tedious to copy and decode. Aim for coordinates or brief hints.
  • Test mobile decoding. Ensure the string is easily copyable on phones—many solvers decode on the go.
  • Don't overthink it. Base64 is instantly recognised by most technical users. It's a gateway cipher, not a challenge.