Built for Firefox configuration workflows · Free browser-based tools

Mozilla.cfg Byte Shift 13: Encoding and Decoding

Learn how legacy mozilla.cfg byte shift 13 works and when to use plain AutoConfig files.

Overview

Some older Firefox AutoConfig files use an obfuscation scheme that shifts each byte by a fixed value. This is not encryption and does not protect secrets.

How it works

For modern plain-text configurations, the loader can set general.config.obscure_value to 0. For legacy files, use a decoder and verify that the output is valid JavaScript.

Important considerations

Do not paste arbitrary binary file contents as text: upload the original file to preserve byte values.

Related CFG tools

Open Mozilla CFG Decoder · CFG Encoder · AutoConfig Generator

See also Mozilla Enterprise documentation.