CS2Price CS2Price
Tool

CS2 crosshair generator

Move the sliders — the preview and the code update at once. The preview is true to size for 1080p, as in the game; next to it the same crosshair enlarged. You get an import code, a console command, a command line and an autoexec fragment.

1:1
×2
Shape
Colour
RGB
Behaviour
Dynamic style parameters
Import

×4

Output

CodeCSGO-FOkvh-B3vhN-5RDG4-oaaJh-8EAkE
Consoleapply_crosshair_code CSGO-FOkvh-B3vhN-5RDG4-oaaJh-8EAkE
Commandscl_crosshairstyle 4; cl_crosshairsize 5; cl_crosshairthickness 1; cl_crosshairgap 0; cl_crosshairdot 0; cl_crosshair_drawoutline 0; cl_crosshair_outlinethickness 1; cl_crosshaircolor 1; cl_crosshaircolor_r 0; cl_crosshaircolor_g 255; cl_crosshaircolor_b 0; cl_crosshairusealpha 1; cl_crosshairalpha 200; cl_crosshair_t 0; cl_crosshair_recoil 0; cl_crosshairgap_useweaponvalue 0; cl_fixedcrosshairgap 3; cl_crosshair_dynamic_splitdist 7; cl_crosshair_dynamic_splitalpha_innermod 1; cl_crosshair_dynamic_splitalpha_outermod 0.5; cl_crosshair_dynamic_maxdist_splitratio 0.3

autoexec.cfg

// CS2Price crosshair generator — https://cs2price.com/en/crosshair-generator
cl_crosshairstyle 4
cl_crosshairsize 5
cl_crosshairthickness 1
cl_crosshairgap 0
cl_crosshairdot 0
cl_crosshair_drawoutline 0
cl_crosshair_outlinethickness 1
cl_crosshaircolor 1
cl_crosshaircolor_r 0
cl_crosshaircolor_g 255
cl_crosshaircolor_b 0
cl_crosshairusealpha 1
cl_crosshairalpha 200
cl_crosshair_t 0
cl_crosshair_recoil 0
cl_crosshairgap_useweaponvalue 0
cl_fixedcrosshairgap 3
cl_crosshair_dynamic_splitdist 7
cl_crosshair_dynamic_splitalpha_innermod 1
cl_crosshair_dynamic_splitalpha_outermod 0.5
cl_crosshair_dynamic_maxdist_splitratio 0.3
// or: apply_crosshair_code CSGO-FOkvh-B3vhN-5RDG4-oaaJh-8EAkE

Switch binds

bind F6 "apply_crosshair_code CSGO-FOkvh-B3vhN-5RDG4-oaaJh-8EAkE"
bind F7 "apply_crosshair_code CSGO-…"   // second crosshair, e.g. a dot for AWP

Pro player presets

Click to load the parameters into the generator; the nickname link opens the player page with history.

donk Spiritsh1ro SpiritNiKo Falconsm0NESY Falconsb1t NAVIZywOo Vitalityropz Vitalitys1mple

How it works

A crosshair code is 18 bytes written as 25 characters after CSGO-: style, size, thickness, gap, colour and flags (dot, outline, T-style, recoil), with the first byte as a checksum. The generator encodes the parameters with the same algorithm as the game and decodes any code back. The preview counts pixels the way the game renders at 1080p: arm width and length are rounded to whole pixels, which is why thickness 0.5 and 0.9 look the same.

CommandWhat it does
cl_crosshairstylestyle: 4 — classic static (what almost every pro uses), 3 — dynamic
cl_crosshairsizearm length; pros use 0–2
cl_crosshairthicknessarm thickness; pros use 0–2
cl_crosshairgapgap between arms, negative pulls them in; pros use −3 to −5
cl_crosshairdotcentre dot: 0 or 1
cl_crosshair_drawoutlineblack outline: 0 or 1; width — cl_crosshair_outlinethickness
cl_crosshaircolor0 red, 1 green, 2 yellow, 3 blue, 4 cyan, 5 custom (cl_crosshaircolor_r/_g/_b)
cl_crosshairalphaopacity 0–255 when cl_crosshairusealpha is 1

Frequently asked

How do I get a crosshair code from the generator?
The code is rebuilt on every slider move — it is the first line under the preview. Press Copy, then in the game open Settings → Game → Crosshair → Share or Import and paste.
Can I paste my own code or commands?
Yes: paste a CSGO-… code or a line of cl_crosshair… commands into the Import field — the generator parses it and sets the sliders.
What is a crosshair code and how is it built?
The twenty-five characters after CSGO- encode 18 bytes: style, size, thickness, gap, colour and flags. The first byte is a checksum, so a typo in a code will not pass. We decode and encode it with the same algorithm the game uses.
Why is the preview so small?
Because it is true to size for a 1080p monitor: pro crosshairs take up 5–12 pixels. The ×2 and ×4 squares next to it show the same crosshair enlarged so the shape is visible.
How do I keep the crosshair permanently?
Download the autoexec fragment and put the lines into autoexec.cfg in the game/csgo/cfg folder: they run at every launch and survive updates.
How do I switch between two crosshairs mid-match?
Use the binds block: bind F6 "apply_crosshair_code " and bind F7 "apply_crosshair_code ". For example a regular cross and a dot for AWP.