# Scratch Challenge (Advanced): Encode & Decode Level Save Codes > Serialize level, coins, and inventory into a copyable string and parse it back. Advanced Scratch coding challenge: Encode & Decode Level Save Codes. Serialize level, coins, and inventory into a copyable string and parse it back. Includes step-by-step hints and extension ideas. ## Challenge brief Difficulty: Advanced. Goal: Serialize level, coins, and inventory into a copyable string and parse it back. Try building a working solution yourself first before checking hints. Even a rough 5-block prototype counts as a great first step! - Step 1: Set up your sprites and green-flag reset blocks cleanly. - Step 2: Build the core mechanic described above and test it immediately. - Step 3: Add one creative twist of your own (sound, speed, score, or second level). ## Explore more challenges & references Mark this challenge completed below once it runs cleanly, then pick your next challenge! - [All 120 Scratch Coding Challenges](/en/challenges/): Browse Beginner, Intermediate, and Advanced challenges. - [Scratch Block Dictionary](/en/dictionary/): Look up any Scratch 3.0 block with examples. - [100 Scratch Coding Recipes](/en/recipes/): See clean patterns for common game mechanics. Updated: 2026-11-23 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/challenges/a09-save-code-io/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)