Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save wasulabenjamin/2980f274ebde9bf56b54aa7cc550cf02 to your computer and use it in GitHub Desktop.

Select an option

Save wasulabenjamin/2980f274ebde9bf56b54aa7cc550cf02 to your computer and use it in GitHub Desktop.
How to activate Sublime Text Build 4200 x64

Activate Sublime Text Build 4200 x64

  1. Go to https://hexed.it/
  2. Click Open File in the top left corner, navigate to instalation folder and select sublime_text.exe
  3. On the Search for bar in the left panel, input: 0F B6 51 05 83 F2 01
  4. Now in the editor, click on the first byte (0F) and start replacing each byte by: C6 41 05 01 B2 00 90
  5. Finally, in the top left corner again, click on Save as and replace the old executable file with the newly created one.

Enjoy an Unlimited User License!


Author: Wasula Benjamin
Role: UIUX Designer & Developer
Last Updated: 17TH NOVEMBER, 2025

@getpool

getpool commented Nov 16, 2025

Copy link
Copy Markdown

Is there a way to crack version 4202?

@zren080

zren080 commented Nov 27, 2025

Copy link
Copy Markdown

i can't

Hi friend.

Disable Rational and then click to search. You will find 0F B6 51 05 83 F2 01, and after that, replace it with C6 41 05 01 B2 00 90.

it worked..
thanks friend

@KnightlyCr8

Copy link
Copy Markdown

Still showed unregistered

@appleshan

Copy link
Copy Markdown

Linux:  Linux:

sudo cp /opt/sublime_text/sublime_text /opt/sublime_text/sublime_text.bak
sudo sed -i 's/\x0F\xB6\x51\x05\x83\xF2\x01/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

Thank you

@khaihkd

khaihkd commented Jan 15, 2026

Copy link
Copy Markdown

Linux:

sudo cp /opt/sublime_text/sublime_text /opt/sublime_text/sublime_text.bak
sudo sed -i 's/\x0F\xB6\x51\x05\x83\xF2\x01/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

@sovedus do you know how to activate on macOS?

@sovedus

sovedus commented Jan 15, 2026

Copy link
Copy Markdown

@khaihkd
If you have sed, it should be enough to replace the path to the executable file.

@ia-S-on

ia-S-on commented Jan 24, 2026

Copy link
Copy Markdown

Thank you @sovedus !!!!

@suntao12138

Copy link
Copy Markdown

@sovedus Thank you very much !!!!

@Sam05dz

Sam05dz commented Feb 16, 2026

Copy link
Copy Markdown

Well Done great Thx !

@DwngKhoi

Copy link
Copy Markdown

Its cool man,thanks u very much!

@jbeddoes

jbeddoes commented Mar 15, 2026

Copy link
Copy Markdown

Linux:

sudo cp /opt/sublime_text/sublime_text /opt/sublime_text/sublime_text.bak
sudo sed -i 's/\x0F\xB6\x51\x05\x83\xF2\x01/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

do you know how to activate on macOS?

macOS: use homebrew gnu-sed (gsed) then

sudo gsed -i 's/\x0F\xB6\x51\x05\x83\xF2\x01/\xC6\x41\x05\x01\xB2\x00\x90/' /Applications/Sublime\ Text.app/Contents/MacOS/sublime_text

@manojmiyani92

Copy link
Copy Markdown

@jbeddoes getting this error: gsed: couldn't open temporary file /Applications/Sublime Text.app/Contents/MacOS/sedkSVsli: Operation not permitted

@jbeddoes

Copy link
Copy Markdown

@jbeddoes getting this error: gsed: couldn't open temporary file /Applications/Sublime Text.app/Contents/MacOS/sedkSVsli: Operation not permitted

../sedkSVsli isn't a bin we're targeting here. Your target is ../sublime_text
@sovedus recommends you make a backup of this file before using sed/gsed. Which on macOS you'd use the following two commands in terminal:
1: sudo cp /Applications/Sublime\ Text.app/Contents/MacOS/sublime_text /Applications/Sublime\ Text.app/Contents/MacOS/sublime_text.bak
2: sudo gsed -i 's/\x0F\xB6\x51\x05\x83\xF2\x01/\xC6\x41\x05\x01\xB2\x00\x90/' /Applications/Sublime\ Text.app/Contents/MacOS/sublime_text

@keshavakrishnansk

Copy link
Copy Markdown

Awesome Hack!!!!!

@bangbuiduc

Copy link
Copy Markdown

Linux:

sudo cp /opt/sublime_text/sublime_text /opt/sublime_text/sublime_text.bak
sudo sed -i 's/\x0F\xB6\x51\x05\x83\xF2\x01/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

Thank you @sovedus

@alvaroogarciia1

Copy link
Copy Markdown

If u want to use it on windows, just open Powershell as administrator and copy this:

  1. copy "C:\Program Files\Sublime Text\sublime_text.exe" "C:\Program Files\Sublime Text\sublime_text.exe.bak"
  2. $file = "C:\Program Files\Sublime Text\sublime_text.exe"
    $bytes = [System.IO.File]::ReadAllBytes($file)

$search = [byte[]](0x0F, 0xB6, 0x51, 0x05, 0x83, 0xF2, 0x01)
$replace = [byte[]](0xC6, 0x41, 0x05, 0x01, 0xB2, 0x00, 0x90)

for ($i = 0; $i -le $bytes.Length - $search.Length; $i++) {
$match = $true
for ($j = 0; $j -lt $search.Length; $j++) {
if ($bytes[$i + $j] -ne $search[$j]) { $match = $false; break }
}
if ($match) {
[Array]::Copy($replace, 0, $bytes, $i, $replace.Length)
break
}
}

[System.IO.File]::WriteAllBytes($file, $bytes)

@tonidamai

Copy link
Copy Markdown

Thank you @sovedus , great!!

@githubAnirban

githubAnirban commented May 25, 2026

Copy link
Copy Markdown

Using https://download.sublimetext.com/sublime_text_build_4200_mac.zip

OS : MAC M5

I am trying this approch: https://gist.githubusercontent.com/wasulabenjamin/2980f274ebde9bf56b54aa7cc550cf02/raw/cf258535a584bb1236e8a5b92621247940cf26da/How%2520to%2520activate%2520Sublime%2520Text%2520Build%25204200%2520x64.md

While trying to search "0F B6 51 05 83 F2 01", its says "There is no data matching your search criteria."

can someone please help!

@Crombain

Copy link
Copy Markdown

how to replace? Sorry for d*mb question, but I dont see this function

@marviha1

marviha1 commented Jun 3, 2026

Copy link
Copy Markdown

sudo cp /opt/sublime_text/sublime_text /opt/sublime_text/sublime_text.bak
sudo sed -i 's/\x0F\xB6\x51\x05\x83\xF2\x01/\xC6\x41\x05\x01\xB2\x00\x90/' /opt/sublime_text/sublime_text

Thanks bro!

@thechoosen1980

Copy link
Copy Markdown

Great share but the native web hex editor didn't work as it used to. I couldn't insert the new value, then i proceeded to
install a different hexeditor and then only it replaced the entire string or value and boom full version.
Cheers

@Apofis

Apofis commented Jun 15, 2026

Copy link
Copy Markdown

Bro, nothing for Sublime Text Build 4205? I don't find a complete reference (in this version) with your trick.

@thechoosen1980

Copy link
Copy Markdown

ya just checked and there are no value if someone could come up with.

@AnnyoingPirate

AnnyoingPirate commented Jun 27, 2026

Copy link
Copy Markdown

sublime 4205 (dev build), Linux x64, Windows x64 and macOS

First, use ↓↓↓ specifically one of this patch below ↓↓↓, then start sublime_text and enter → this license

Patch for LINUX version

swap bytes at these offsets from -> to

0x0054E566: 0x41 -> 0xE9
0x0054E567: 0x81 -> 0x91
0x0054E568: 0xFF -> 0x01
0x0054E569: 0x42 -> 0x00
0x0054E56A: 0x1C -> 0x00
0x0054E91A: 0x48 -> 0xEB
0x0054E91B: 0x83 -> 0x2A
0x0054EF4C: 0x41 -> 0xC3

or just find and replace these sequences:

Find:    31 DB 41 81 FF 42 1C 0C
Diff:    -- -- E9 91 01 00 00 --
Replace: 31 DB E9 91 01 00 00 0C
Find:    89 38 48 83 BC 24 30 01
Diff:    -- -- EB 2A -- -- -- --
Replace: 89 38 EB 2A BC 24 30 01
Find:    94 58 DC FF 41 57 41 56
Diff:    -- -- -- -- C3 -- -- --
Replace: 94 58 DC FF C3 57 41 56

Patch for WINDOWS version

swap bytes at these offsets from -> to

0x000AA946: 0x41 -> 0xE9
0x000AA947: 0x81 -> 0x97
0x000AA948: 0xFC -> 0x01
0x000AA949: 0x42 -> 0x00
0x000AA94A: 0x1C -> 0x00
0x000AABD7: 0x48 -> 0xEB
0x000AABD8: 0x83 -> 0x28
0x000AB94E: 0x56 -> 0xC3

or just find and replace these sequences:

Find:    31 ED 41 81 FC 42 1C 0C
Diff:    -- -- E9 97 01 00 00 --
Replace: 31 ED E9 97 01 00 00 0C
Find:    45 89 27 48 83 BC 24 A8
Diff:    -- -- -- EB 28 -- -- --
Replace: 45 89 27 EB 28 BC 24 A8
Find:    5E 41 5E 41 5F C3 56 57 53 48 83 EC 20 89 D6 48
Diff:    -- -- -- -- -- -- C3 -- -- -- -- -- -- -- -- --
Replace: 5E 41 5E 41 5F C3 C3 57 53 48 83 EC 20 89 D6 48

Patch for macOS version (NOT TESTED)

swap bytes at these offsets from -> to
slice 1: x86-64 (Intel based system)

0x0020CE09: 0x41 -> 0xE9
0x0020CE0A: 0x81 -> 0x8D
0x0020CE0B: 0xFC -> 0x01
0x0020CE0C: 0x42 -> 0x00
0x0020CE0D: 0x1C -> 0x00
0x0020D0B4: 0x48 -> 0xEB
0x0020D0B5: 0x83 -> 0x27
0x0020D7EE: 0x55 -> 0xC3

slice 2: AArch64 (Apple Silicon based system)

0x00EE40B4: 0x48 -> 0x71
0x00EE40B5: 0x88 -> 0x00
0x00EE40B6: 0x83 -> 0x00
0x00EE40B7: 0x52 -> 0x14
0x00EE4280: 0x16 -> 0x08
0x00EE4281: 0x01 -> 0x00
0x00EE4283: 0xB4 -> 0x14
0x00EE4844: 0xF6 -> 0xC0
0x00EE4845: 0x57 -> 0x03
0x00EE4846: 0xBD -> 0x5F
0x00EE4847: 0xA9 -> 0xD6

or just find and replace these sequences:
slice 1: x86-64 (Intel based system)

find:    41 5F 45 31 ED 41 81 FC 42 1C 0C 00
diff:    -- -- -- -- -- E9 8D 01 00 00 -- --
replace: 41 5F 45 31 ED E9 8D 01 00 00 0C 00
find:    FF 44 89 20 48 83 BD 68 FE FF FF 00
diff:    -- -- -- -- EB 27 -- -- -- -- -- --
replace: FF 44 89 20 EB 27 BD 68 FE FF FF 00
find:    5D E9 AA 09 3E 00 55 48 89 E5 41 57
diff:    -- -- -- -- -- -- C3 -- -- -- -- --
replace: 5D E9 AA 09 3E 00 C3 48 89 E5 41 57

slice 2: AArch64 (Apple Silicon based system)

find:    7B FE FF 17 48 88 83 52 88 01 A0 72
diff:    -- -- -- -- 71 00 00 14 -- -- -- --
replace: 7B FE FF 17 71 00 00 14 88 01 A0 72
find:    F9 02 00 B9 16 01 00 B4 E1 0F 40 B9
diff:    -- -- -- -- 08 00 -- 14 -- -- -- --
replace: F9 02 00 B9 08 00 00 14 E1 0F 40 B9
find:    11 76 0B 14 F6 57 BD A9 F4 4F 01 A9
diff:    -- -- -- -- C0 03 5F D6 -- -- -- --
replace: 11 76 0B 14 C0 03 5F D6 F4 4F 01 A9

voilà
st_dev_4205

@thechoosen1980

Copy link
Copy Markdown

i already patched 4200 with the method mentioned somewhere. But do u think Sublime Txt 4205 has some kind of methods to activate it.

@AnnyoingPirate

Copy link
Copy Markdown

@thechoosen1980

i already patched 4200 with the method mentioned somewhere. But do u think Sublime Txt 4205 has some kind of methods to activate it.

For Linux and Windows, I posted a patch for version 4205 in the comment above. If you have macOS, I can make a similar patch, but I have no way to test it.

@thechoosen1980

thechoosen1980 commented Jul 1, 2026

Copy link
Copy Markdown

@thechoosen1980

i already patched 4200 with the method mentioned somewhere. But do u think Sublime Txt 4205 has some kind of methods to activate it.

For Linux and Windows, I posted a patch for version 4205 in the comment above. If you have macOS, I can make a similar patch, but I have no way to test it.

Hey there, ur method worked by the second method. But now it says, Upgrade License Required.
2026-07-01_180340
Did u also had similar output. Is it normal. Do i need to provide a license, or will it work just as it is.
I m confused. Can u suggest something. 😐😐😐
It amazing how u guys do these kind of things. But still, u r the hero.
Should i leave it like that.

Sublime Text licenses include 3 years of free updates. If you are using build 4205 and seeing a "License Upgrade Required" prompt, your original purchase is more than 3 years old. You can either purchase a license upgrade, or continue using your last eligible version for free (since Sublime licenses do not expire).

@AnnyoingPirate

Copy link
Copy Markdown

Hey there, ur method worked by the second method. But now it says, Upgrade License Required.

I'm assuming that by “second method” you mean the patch for the Windows version?

Did u also had similar output. Is it normal. Do i need to provide a license, or will it work just as it is.
I m confused. Can u suggest something.

I checked it on Linux and Windows, and you shouldn't see the “License Upgrade Required” message. If a pop-up window asking you to update your license (or sth like that) doesn't appear while you're using the program, it's likely just a cosmetic issue.

However, if you want to remove this information, make sure you've changed the second sequence correctly.
For Windows, it will be this one:

0x000AABD7: 0x48 -> 0xEB
0x000AABD8: 0x83 -> 0x28

Find:    45 89 27 48 83 BC 24 A8
Diff:    -- -- -- EB 28 -- -- --
Replace: 45 89 27 EB 28 BC 24 A8

And since you launched the program using the provided license and it wasn't later removed as invalid by the online verification, the other two sequences have been changed correctly.

@thechoosen1980

Copy link
Copy Markdown

Thank u for ur codes, but now it says please enter ur serial now. Although i am using Eazy fix, some of the snapshots are showing similar results. Why does the codes behaves despite putting it. Anyways i cannot test it now. I'll quote u if ur methods works.
Also i don't see me using Sublime Text just for editing text. Its better for coders, i think. I think i'll to be content with notepad++.
Will holler u soon. Good night.

@Gear-BR

Gear-BR commented Jul 4, 2026

Copy link
Copy Markdown

não posso

Oi amigo.
Desative o Rational e clique em pesquisar. Você encontrará 0F B6 51 05 83 F2 01 e, em seguida, substitua por C6 41 05 01 B2 00 90.

Funcionou... obrigado, amigo!

funcionou perfeitamente

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment