LogoMouse Test

Live Preview

1280×720Static Preview
Zoom

Preview resolution only affects the display and does not modify the code; 1× is the original in-game pixel size, zooming in is only for easier observation.

Crosshair Settings

Color
Outline Color

Sizes are in pixels at the reference screen height; the scope dot settings only take effect when scoped in and are not shown in this preview.

About the CS2 Crosshair Generator

The CS2 Crosshair Code Generator is an online tool that runs entirely in your browser, used to create, preview, and import CS2 crosshair codes. You can freely combine 10 crosshair styles with parameters such as color, outline, thickness, length, gap, center dot, T-shape, follow recoil, dynamic spread, and scope dot, view the CS2 crosshair effect in real time, and generate an importable share code and segmented console commands with one click. The tool also includes built-in professional player presets and supports importing legacy crosshair codes, making it easy to quickly create, fine-tune, and reuse your own CS2 crosshair.

How to Use the CS2 Crosshair Generator

First choose a "Style" under "Crosshair Settings," then adjust color, outline, and size parameters in turn. The crosshair refreshes in real time as parameters change. If you're not sure where to start, you can directly click the donk, m0NESY, or ZywOo pro presets and then fine-tune based on the preset. If you want to revert during adjustments, click "Undo" to return to the state before the last change; to return to the initial state, click "Reset" — reset also clears the load-code input box and restores the preview resolution and zoom.

When you're done, click "Copy Code" to get the share code, then open CS2's "Settings > Game > Crosshair," select "Share or Import," and paste the code; you can also click "Console" to expand the segmented commands and paste them into the game console segment by segment. Clicking "Share" copies a browser link containing the current crosshair code — send the link to a friend and they'll see the same settings when they open it. If you already have a code, click "Load Code" and paste it to continue editing. The page address automatically syncs the current crosshair code, so you can also copy the link directly from the browser address bar to share.

10 Crosshair Styles and Parameter Linkage

The generator offers 10 styles: Dynamic Cross, Dynamic Ring, Classic Dynamic Cross, Static Ring, Static Cross, Firing Feedback, Center Dot Only, Dynamic Four Arcs, Static Box, and Static Four Corners. Different styles have different available parameters, and the settings panel automatically hides options irrelevant to the current style to prevent misadjustment: Length is shown only in Dynamic Cross, Classic Dynamic Cross, Static Cross, Firing Feedback, and Dynamic Four Arcs; Gap is shown in most styles except Center Dot Only and Firing Feedback; the center dot toggle is hidden in the Center Dot Only style; the T-shape toggle appears only in styles that show length.

Color, Outline, and Display Toggles

Color offers 5 preset colors — red, green, yellow, blue, and cyan — and supports custom colors via a color picker; Outline can be set to off, full, or half outline. Once outline is enabled, you can set the outline color separately, also with 5 presets and a custom picker; Center Dot adds a square dot at the center of the crosshair, T-shape removes the top line of the crosshair, and Follow Recoil makes the crosshair move with the view's recoil when firing. The three toggles are grouped in one row and shown dynamically according to the current style.

Size Parameter Description

Thickness ranges from 0 to 32 pixels, Length from 0 to 255 pixels (the slider shows up to 40 by default, but the number box accepts larger values), and Gap from -30 to 30 pixels — negative values make the lines overlap. These parameters use CS2's new pixel units, correspond one-to-one with in-game settings, and scale proportionally to your actual resolution in combination with "Reference Height."

Dynamic Parameter Description

Classic Dynamic Cross shows the full set of dynamic parameters: dynamic distance (0 to 127), inner split transparency (0 to 1), outer split transparency (0.3 to 1), and split size ratio (0 to 1), which respectively control the split distance, transparency, and size ratio of the split parts during movement or firing. Dynamic Cross, Dynamic Ring, and Dynamic Four Arcs only show the spread limit (0 to 255 pixels), which caps the maximum spread range; Static Four Corners only shows the split size ratio — when the ratio is greater than 0 it displays as four arcs, and when it is 0 it displays as four corner segments. Dynamic styles spread with movement and firing in-game, but the preview here only shows the static state.

Scope Dot and Reference Height

Scope Dot Scale ranges from 0.1 to 2 and controls the size of the dot when scoped in; the Scope Dot Uses Crosshair Color toggle determines whether the scoped dot inherits the main crosshair color. These two settings only take effect when scoped in and do not appear in the static preview. Reference Height ranges from 240 to 2160 pixels and represents the screen height that the crosshair size corresponds to — the default 720 works for most scenarios; it determines how the game converts pixel sizes to your actual resolution — the lower the reference height, the larger the crosshair appears on high-resolution screens.

Preview Resolution and Zoom

Preview Resolution offers a variety of common resolutions from 1280×720 to 3840×2160 for simulating how the crosshair looks on different screens; Zoom offers four levels — 1×, 2×, 4×, and 8×. 1× is the in-game original pixel size; zooming only makes it easier to observe details. Preview resolution and zoom only affect the canvas display — they are not written into the crosshair code and do not change the share code, page link, or console commands. What actually gets written into the code are the crosshair parameters in the settings panel.

The Difference Between CS2 Crosshair Codes and CS3 Crosshair Codes

CS2 is currently the official active version, and no official CS3 has been released — so there is no real "CS3 crosshair code" either. If the term "CS3 crosshair code" appears online, it is usually a misreport or typo, actually referring to the new CS2 crosshair code or the old CSGO-prefixed CSGO crosshair code. CS2 crosshair codes start with CS, use pixel units to describe parameters such as thickness, length, and gap, and support richer outline colors and scope dot settings; old CSGO- codes use relative units and have more limited color options. This generator prioritizes generating CS2 crosshair codes and is compatible with parsing legacy codes so you can continue editing.

Differences Between the Preview and the Actual Game

The preview only shows the static state and does not simulate full-screen stretching, movement spread, firing spread, or recoil, so dynamic styles will behave slightly differently in-game than in the preview. Preview resolution only affects the on-screen scaling and is not written into the crosshair code. If you play at a 4:3 stretched resolution, the crosshair will visually appear wider than in the preview — this is normal and caused by screen stretching. For the closest in-game look, set the preview resolution to match your game resolution and observe at 1× zoom.

Frequently Asked Questions

How do I import the generated crosshair code into CS2?

Click "Copy Code" above the preview area to get the share code (a long string starting with CS), go to CS2's "Settings > Game > Crosshair" page, click "Share or Import," paste the code into the input box, and confirm. You can also click "Console" to expand the segmented commands and copy them into the game console segment by segment. Note that the console supports at most 511 characters at a time, so the tool splits automatically — press Enter after pasting each segment before pasting the next.

What formats does loading a code support? Can old CSGO- codes still be used?

After clicking "Load Code," you can paste new CS2 codes (starting with CS, 44 characters) and old CSGO- codes (v3 and v1). Old codes are automatically converted to the new pixel units at 1080p resolution so you can continue editing; CSGO- v4 is not currently supported. Note that current CS2 can no longer import old CSGO- codes directly — after loading, copy the new code generated by the page and then import it in-game or run the console commands.

Why are the console commands split into multiple segments?

Because the CS2 console supports at most 511 characters at a time and the complete crosshair commands exceed that length, the generator automatically splits them and shows the character count of each segment. When using them, copy each segment, paste it into the console, and press Enter — the settings only take full effect after all segments have been executed. You can also click "Download cfg" in the top right of the dialog to get an autoexec.cfg file containing all the commands. If the console isn't enabled, first enable it under "Settings > Game > Enable Developer Console (~)."

What do Undo and Reset do respectively?

"Undo" reverts to the state before the last parameter change, suitable for quickly comparing different settings during fine-tuning; "Reset" clears all changes and restores the crosshair to default parameters, while also clearing the load-code input box and restoring the preview resolution and zoom. The Undo button is automatically grayed out when there is no history to revert to.

Does switching preview resolution or zoom change the generated code?

No. Preview resolution and zoom only affect the display on the canvas, used to simulate different screens and observe details — they are not written into the crosshair code and do not change the share code, page link, or console commands. What actually gets written into the code are the crosshair parameters in the settings panel.

Why do fewer parameters become adjustable under different styles?

Because different crosshair styles inherently have different available parameters in-game. The generator automatically shows or hides relevant options based on the current style — for example, the Center Dot Only style does not show the center dot toggle, length, or gap; Static Four Corners only shows the split size ratio; Dynamic Cross, Dynamic Ring, and Dynamic Four Arcs only show the spread limit. This prevents adjusting parameters that have no effect on the current style.

Why can't I see the scope dot settings in the preview?

Scope dot settings only take effect when scoped in, while the page preview shows the normal crosshair in the static state, so the scoped dot is not displayed. You can first adjust the scope dot scale and whether it uses the crosshair color, then import into the game and scope in to see the actual effect.

How should I set the Reference Height (pixels)?

Reference Height represents the screen height that the crosshair size corresponds to — for the vast majority of players, keeping it at 720 or 1080 is fine. It determines how the game converts pixel sizes to your actual resolution: the lower the reference height, the larger the crosshair appears on high-resolution screens. Usually no manual change is needed — when applying pro player presets, the corresponding value is filled in automatically.

How do the Share button and page link work?

The page address automatically carries the current crosshair code. Clicking "Share" copies this browser link with parameters — when someone opens the link, the generator automatically loads the same crosshair settings, with no need to manually paste the code. You can also copy the link directly from the browser address bar to share.

Are the pro player presets updated in real time?

The presets come from publicly available player crosshair codes. Players may adjust their settings with new versions or personal habits, so the presets on the page can only represent the configuration at the time they were collected and are not necessarily what the player is currently using. It's recommended to treat the presets as a starting point and fine-tune based on your own feel.

Does this tool automatically modify my game settings?

No. The generator only performs parameter calculation, preview, and code generation locally in your browser — it does not read or write your game directory, nor does it upload any data. You still need to manually import the code or run the console commands in CS2 for the settings to take effect.