What is a CS2 crosshair code?

Counter-Strike 2 lets you share a whole crosshair as one short code, such as CSzrh3fP2ZSwkTxrNdMTH3wmAGeSEEhODmkkL2Dss4ZvGF. It stores the style, color, outline, thickness, length, gap and the other crosshair settings, so anyone can import it in game and get exactly the same crosshair.

Since the September 2026 crosshair update, CS2 measures crosshair sizes in pixels. A thickness of 1, a length of 8 and a gap of 4, as in the code above, draw a 1-pixel-wide crosshair with 8-pixel bars 4 pixels from the center. The game remembers the screen height you made it for and rescales it at other resolutions. Crosshair codes made before the update no longer import, so this generator makes codes in the new format.

Tool description

Pick a style and set the size, color and outline. The preview draws the crosshair pixel by pixel the way CS2 does: bars and squares with hard edges, smoothed circles and quadrants, the outline under the fill, and see-through colors blended like in game. It shows the crosshair three times larger on a transparency checkerboard; set zoom to 1 for the real size, or zoom in further to check single pixels.

Choose the screen height you play at, for example 960 for 1280×960 or 1080 for 1920×1080, so the pixel sizes match your game. Then copy the share code and import it in CS2 under Settings, Crosshair / Scopes, Share or Import, or paste the console commands into the developer console.

Features

  • Static Cross, Static Circle, Static Square, Dot Only and Static Quadrant styles
  • Thickness, length, gap, quadrant size, center dot, T style and follow recoil
  • Crosshair and outline color with opacity, plus full, half or no outline
  • Pixel-accurate preview with zoom on a transparency checkerboard
  • Share code in the current CS2 format, ready to import
  • Console commands with the current crosshair settings, on one line