CS2 Crosshair Generator
Tune your crosshair over a real map and copy the code for CS2.
Templates
In-game code
CSpb9t3x5NtrX5fWaENsr8vusEtwpiURjzqauLkOiYHMqFConsole commands
cl_crosshairstyle 7; cl_crosshaircolor_r 0; cl_crosshaircolor_g 255; cl_crosshaircolor_b 0; cl_crosshaircolor_a 255; cl_crosshair_drawoutline 1; cl_crosshairoutline_r 0; cl_crosshairoutline_g 0; cl_crosshairoutline_b 0; cl_crosshairoutline_a 255; cl_crosshair_thickness 2; cl_crosshair_length 8; cl_crosshair_gap 4; cl_crosshairdot 0; cl_crosshair_t 0; cl_crosshair_recoil 1; cl_crosshair_dynamic_spread_limit 255; cl_crosshair_dynamic_splitdist 3; cl_crosshair_dynamic_splitalpha_innermod 0; cl_crosshair_dynamic_splitalpha_outermod 1; cl_crosshair_dynamic_maxdist_splitratio 1; cl_ironsight_dot_scale 1; cl_ironsight_usecrosshaircolor 0; cl_crosshair_screen_height 1080Style
Static
Dynamic
Color
Size
Resolution
Outline
Outline color
Details
Dynamics
Scope dot
How to set the crosshair in CS2
CSpb9t3x5NtrX5fWaENsr8vusEtwpiURjzqauLkOiYHMqFCopy the code
Your crosshair's code is right here, the button puts it on the clipboard.
Open the code window
Settings, Crosshair / Scopes, then Share or Import above the preview.
Paste and import
Paste the code that starts with CS and press Import: the game replaces your crosshair right away.
Or use the console: turn on Enable Developer Console in the game settings, open it with ~ and paste the whole line from Console commands.
CS2 crosshair FAQ
In CS2, open Settings, go to Crosshair / Scopes and press Share or Import above the preview. Paste the code that starts with CS and press Import, and the game replaces your current crosshair. Here the code is copied with the Copy button next to In-game code.
Open Share or Import in the CS2 crosshair settings and press Copy Your Code: it puts the code of your current crosshair on the clipboard. Paste it into Code or commands here and press Load to see the crosshair on a map and adjust it.
Copy the line from Console commands and paste it into the CS2 console in one go: it holds every crosshair command with your settings. The console is turned on with Enable Developer Console in the game settings and opens with the ~ key. The line ends with cl_crosshair_screen_height, which the game uses to fit the sizes to your screen.
Paste your old CSGO- code or the cl_crosshair commands from a CS:GO config into Code or commands and press Load: the generator converts the crosshair to the new settings and gives you a CS2 code. The game itself no longer accepts codes from CS:GO and from CS2 before the September 2026 update and says “Invalid or old crosshair code”. The conversion is approximate because the old sizes followed other formulas, so check it on the preview. CSGO- codes saved after the September update still work in the game as they are.
A static crosshair stays the same while you move and shoot: Static Cross, Static Circle, Static Square, Static Quadrant and Dot Only. A dynamic one opens up with weapon spread and shows when a shot will be inaccurate: Dynamic Cross, Dynamic Circle, Dynamic Quadrant, Dynamic Cross (Classic) and Dynamic Cross (Legacy). Dynamics on the preview shows how the chosen style opens up.
Pick the Dot Only style: the crosshair turns into a single dot in the center. Thickness sets the size of the dot, and the color and outline work as for any other crosshair. To keep the lines and add a dot, turn on Center dot in another style.
Open the 2D Replay of the match and find the player table on the Overview tab of the breakdown below the replay. When the demo has the player's crosshair, a crosshair button sits next to the nickname: hover it to see the crosshair and click to copy the code. Paste the code into the game, or into Code or commands here to adjust it.
CS2 sets crosshair sizes in pixels for a screen cl_crosshair_screen_height pixels tall and scales them to your screen height every frame. That is why the crosshair takes the same share of the screen at 1080p and at 1440p. Resolution in the generator sets that height, and it goes into the code and the commands. Stretched 4:3 widens the crosshair along with the picture, which the 4:3 view on the preview shows.