Skip to main content

CS2 Crosshair Code Decoder

Decode a CSGO-xxxxx crosshair share code into cl_crosshair console commands.

Reviewed by · Last reviewed

Runs 100% in your browser - your data never leaves your device

Console commands
Paste a share code above to see the cl_crosshair* commands.
Rate this tool
Be the first to rate

How to Use the Crosshair Code Decoder

  1. Copy a share code - from a pro settings site, a teammate, or CS2 itself (Settings > Game > Crosshair > Share).
  2. Paste it into the input. Decoding happens instantly; an invalid or mistyped code is flagged by its checksum rather than silently producing wrong settings.
  3. Read the settings table - style, size, thickness, gap, colour, alpha, outline, centre dot, T-style, follow recoil and the rest.
  4. Copy the console commands with one click and paste them into the CS2 console to apply the crosshair.

What the Decoder Actually Does

A CSGO-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx code is a base-58 encoded block of 18 bytes using a custom dictionary that drops visually ambiguous characters. The decoder reverses the string, decodes it to bytes, validates the one-byte checksum, then unpacks each field: size and gap are signed fixed-point values (stored as tenths), colour is raw RGB plus a preset index, and booleans like the centre dot, outline and CS2's follow-recoil flag are bit-packed. The algorithm matches the community reference implementation used by CS Demo Manager, and everything runs in your browser - the code never leaves the page.

Why Decode Instead of Just Importing?

  • Tweak before applying. Import takes the crosshair as-is; decoding shows you the exact cl_crosshair* values so you can nudge the gap or alpha before pasting.
  • Move settings into a config. Paste the commands into your autoexec.cfg so the crosshair survives reinstalls and applies on every machine you play on.
  • Understand a pro's setup. Seeing that a crosshair is style 4, size 1, thickness 0.5 with -2 gap teaches you more than a screenshot does.

Frequently Asked Questions

How do I use a CS2 crosshair share code?

Paste the CSGO-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx code into this tool. It decodes the code into the matching cl_crosshair* console commands. Copy them, paste them into the CS2 console, and your crosshair updates instantly. CS2 can also import a code directly from the crosshair settings menu.

What does the share code actually contain?

The code is a base-58 encoded block of 18 bytes. The first byte is a checksum; the rest pack every crosshair setting - style, size, thickness, gap, outline, colour (RGB), alpha, centre dot, T-style and more - as signed fixed-point values and bit flags.

Why does it say my code is invalid?

Each code carries a one-byte checksum. If a character is missing, swapped, or mistyped, the checksum will not match and the tool reports the code as invalid rather than showing wrong settings. Re-copy the full code, including the CSGO- prefix and all four dashes.

Is my crosshair code sent to a server?

No. Decoding is pure math that runs entirely in your browser. There is no network request and nothing is stored.

Does this work for both CS:GO and CS2 codes?

Yes. CS2 kept the same CSGO- share-code format, so codes shared for either game decode the same way and produce valid cl_crosshair commands.

Related tools

More Gaming Tools

Support ZeroUtil