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

@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
Copy link
Copy Markdown

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

OS : MAC M5

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!

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