How to save your own crosshair and import another one

  1. Open Share or Import and click Copy Your Code. Paste your code into a note so you can restore your crosshair after trying the new one.
  2. Copy the new code from its source. Replace the contents of the field with the new code. Leave out quotation marks and surrounding text, then click Import. If the button is disabled, use the table below.
  3. Check the crosshair in settings, then go into a practice session. See whether it stands out against light and dark backgrounds and watch how it behaves as you move. To switch back, import the code you saved.

These are the labels in the English client. The import field takes a crosshair code. If you have a .cfg file, follow the CS2 config installation guide.

Why CS2 rejects a crosshair code

The game uses the same message for an old code and an invalid one. If someone exported the code recently, start by copying it again.

What you seeWhat to do
The game rejects a recent codeCopy it again in full. Remove any spaces at either end, line breaks or quotation marks that came along with it. If it still fails, ask the author to export it again.
An old code starts with CSGO-Ask for a new code from the current version of the game. Deleting the dashes or swapping the prefix leaves the original data format intact.
All you have is a screenshot or old configRecreate the style, colour, dot and outline in the menu. Use the preview to adjust length, thickness and gap.

Older crosshair codes can start with CSGO-. The current format starts with CS and uses no dashes.

Valve changed the code format in the 30 September 2026 update. The new code includes scope dot scale and colour settings. If you want to recover a particular crosshair, look for a fresh code from the same player or author. A random code that imports successfully could give you a completely different crosshair.

To check that the import dialog works, paste a fresh copy of your own crosshair code and see whether Import becomes available. You can stop before clicking it. If your code passes and the other one fails, start with the rejected code. Copy Your Code also fills the box with your code, so save it separately before pasting someone else's.

What to check if the imported crosshair looks different

Compare it at the resolution and aspect ratio of the reference image if you know them. CS2’s newer system rescales crosshair dimensions when you change resolution. In Valve’s example, a thickness of 2 pixels at 1280 × 720 becomes 4 pixels at 2560 × 1440. If the crosshair changes as you move or shoot, check the selected style in a practice session.

Once the crosshair looks right, click Copy Your Code again and save it. If the crosshair looks right after import but changes after you restart CS2, check whether your autoexec.cfg runs crosshair commands at startup.