Decode a message in base64
Decode a hidden Base64 message using a simple online decoder or step-by-step chart to reveal secret text and learn basic encoding principles.

About this activity
Decode a hidden Base64 message using a simple online decoder or step-by-step chart to reveal secret text and learn basic encoding principles.
What you need
Step by step
- 1
Step 1
Look at the printed Base64 message and point to the full string of letters and symbols so you know where it starts and ends.
- 2
Step 2
Carefully copy the exact Base64 string onto a fresh line on your paper so you can work from a clean copy.
- 3
Step 3
Decide whether you will use an online Base64 decoder or decode by hand with the chart and tell an adult which way you picked.
- 4
Step 4
If you chose online, ask an adult to open a safe Base64 decoder page for you to use.
- 5
Step 5
Enter the Base64 string into the decoder input box by typing or pasting it in exactly as you copied it.
- 6
Step 6
Click the decoderās "Decode" button and read the revealed text that appears in the output area.
- 7
Step 7
If you chose to decode by hand, use the Base64 chart to write the 6-bit number for each Base64 character under it on your paper.
- 8
Step 8
Join those 6-bit groups in order to make one long line of bits (a long string of 0s and 1s).
- 9
Step 9
Split the long bit string into groups of 8 bits and convert each 8-bit group into its decimal number using your chart.
- 10
Step 10
Use the decimal numbers to find matching ASCII letters or symbols and write each letter to reveal the hidden message.
- 11
Step 11
Take a photo or write a short note about your decoded message and share your finished creation on DIY.org
Fun facts
How do I decode a hidden Base64 message with my child?
Start by copying the Base64 string and pasting it into a safe online Base64 decoder, then click ādecodeā to reveal the secret text. For a hands-on method, use a printed Base64 chart: map each character to its 6ābit value, join bits into 8ābit bytes, convert bytes to ASCII characters, and read the result. Supervise younger children and explain each step to teach basic encoding ideas and patterns.
What materials do I need to decode a Base64 message?
Youāll need a device with internet access for an online Base64 decoder or a printed Base64 chart for manual decoding, plus paper and pencil. Optionally use a simple text editor to paste encoded and decoded text, and a ruler or highlighter to track groups of characters. For privacy, consider an offline decoder app or a local script if youāll work with sensitive content.
What ages is this Base64 decoding activity suitable for?
This activity suits children about 8 years and up with adult guidance; ages 8ā10 can use online decoders and learn the concept. Ages 10ā14 can try the manual chart method and basic binary-to-ASCII conversion. Adjust explanations to your childās math and reading levelāyounger kids benefit from visual charts and step-by-step help, while older kids enjoy the logic and conversion challenges.
What are the benefits of decoding Base64 with kids?
Decoding Base64 builds digital literacy, pattern recognition, and basic binary understanding in a fun way. It teaches how data can be represented and restored, reinforces attention to detail, and introduces safe problem-solving with text encodings. The activity is great for puzzles or treasure hunts and encourages curiosity about how computers store and share information, preparing kids for later coding concepts.
Watch & Learn
Need help?
What can we use instead of a printed Base64 message or a Base64 chart if those are hard to find?
Instead of a printed Base64 message you can display a clear screenshot on a tablet or phone to copy the exact Base64 string onto paper, and if you can't find a Base64 chart you can print one from a trusted educational site or skip the chart by using the online decoder step with an adult.
Why might the decoder give an error or a wrong-looking result, and how do we fix that?
If the online decoder returns an error or gibberish, check that you copied the exact Base64 string from the printed message (including any '=' padding and no extra spaces) into the decoder input box, or if decoding by hand recheck each Base64 character's 6-bit number and that your 8-bit groups line up correctly before converting to ASCII.
How can we adapt this activity for different ages like preschoolers, elementary kids, and teens?
For preschoolers have an adult open a safe Base64 decoder and let the child point to the revealed text, for elementary kids let them copy the string and paste into the decoder input box with guidance, and for teens have them decode by hand with the Base64 chart, join 6-bit groups to make the long bit string, and convert to ASCII themselves or write a small script to verify their result.
How can we extend or personalize the activity after decoding the message?
Make it a game by encoding your own short secret message with an online Base64 encoder, print that string for a friend to decode using the paper-and-chart steps, and then take a photo of the decoded message to share on DIY.org as suggested in the final step.