Cookie Encoder/Decoder

© 2025 Luka Uzel — Open sourced under the MIT License.

loCode V1.0.0 built with ❤️ using Symfony, Alpine.js, Bootstrap and Docker

Thu. 5 March 2026 10:01

Help

Cookie Encoder/Decoder

Convert between HTTP Cookie header strings and key-value pairs.

Decode Mode

Converts a cookie string to key-value pairs (one per line):

Input:

tt_viewer=5dd6a32b; obuid=09906436; tt_exelate=

Output:

tt_viewer=5dd6a32b
obuid=09906436
tt_exelate=

Encode Mode

Converts key-value pairs to a cookie string for HTTP Cookie header:

Input:

tt_viewer=5dd6a32b
obuid=09906436
tt_exelate=

Output:

tt_viewer=5dd6a32b; obuid=09906436; tt_exelate=

Usage

  • Select mode (Decode or Encode)
  • Paste your content in the left editor
  • Click the arrow button to convert
  • Use the swap button to reverse direction and content