0xnhl

Cyberchef

/ Update
5 min read
  • https://gchq.github.io/CyberChef/
  • https://github.com/gchq/CyberChef
    CyberChef is a simple, intuitive web-based application designed to help with various “cyber” operation tasks within your web browser. Think of it as a Swiss Army knife for data - like having a toolbox of different tools designed to do a specific task. These tasks range from simple encodings like XOR or Base64 to complex operations like AES encryption or RSA decryption. CyberChef operates on recipes, a series of operations executed in order.

CyberChef consists of four areas. Each consists of different components or features.

These are the following areas:

  1. Operations
  2. Recipe
  3. Input
  4. Output

The Operations Area#

This is a practical and comprehensive repository of all the diverse operations that CyberChef is equipped to perform. These operations are meticulously categorized, offering users convenient access to various capabilities. Users can utilize the search feature to locate specific operations quickly, enhancing their efficiency and productivity.
Below are some operations you might use throughout your cyber security journey.

OperationsDescriptionExamples
From Morse CodeTranslates Morse Code into (upper case) alphanumeric characters.- .... .-. . .- - ... becomes THREATS when used with default parameters
URL EncodeEncodes problematic characters into percent-encoding, a format supported by URIs/URLs.https://tryhackme.com/r/room/cyberchefbasics becomes https%3A%2F%2Ftryhackme%2Ecom%2Fr%2Froom%2Fcyberchefbasics when used with the parameter “Encode all special chars”
To Base64This operation encodes raw data into an ASCII Base64 string.This is fun! becomes VGhpcyBpcyBmdW4h
To HexConverts the input string to hexadecimal bytes separated by the specified delimiter.This Hex conversion is awesome! becomes 54 68 69 73 20 48 65 78 20 63 6f 6e 76 65 72 73 69 6f 6e 20 69 73 20 61 77 65 73 6f 6d 65 21
To DecimalConverts the input data to an ordinal integer array.This Decimal conversion is awesome! becomes 84 104 105 115 32 68 101 99 105 109 97 108 32 99 111 110 118 101 114 115 105 111 110 32 105 115 32 97 119 101 115 111 109 101 33
ROT13A simple Caesar substitution cipher which rotates alphabet characters by the specified amount (default 13).Digital Forensics and Incident Response becomes Qvtvgny Sberafvpf naq Vapvqrag Erfcbafr

Alternatively, you can directly check how the operations work by hovering on the specific operation. This should give you a sample or a description and a link to Wikipedia.

Extractors#

SpecificDescription
Extract IP addressesExtracts all IPv4 and IPv6 addresses.
Extract URLsExtracts Uniform Resource Locators (URLs) from the input. The protocol (HTTP, FTP, etc.) is required, otherwise there will be far too many false positives.
Extract email addressesExtracts all email addresses from the input.

Date and time#

SpecificDescription
From UNIX TimestampConverts a UNIX timestamp to a datetime string.
To UNIX TimestampParses a datetime string in UTC and returns the corresponding UNIX timestamp.

Data Format#

OperationsDescriptionExamples
From Base64This operation decodes data from an ASCII Base64 string back into its raw format.V2VsY29tZSB0byB0cnloYWNrbWUh becomes Welcome to tryhackme!
URL DecodeConverts URI/URL percent-encoded characters back to their raw values.https%3A%2F%2Fgchq%2Egithub%2Eio%2FCyberChef%2F becomes https://gchq.github.io/CyberChef/
From Base85notation for encoding arbitrary byte data. It is usually more efficient than Base64. This operation decodes data from an ASCII string (with an alphabet of your choosing, presets included).BOu!rD]j7BEbo7 becomes hello world
From Base58is a notation for encoding arbitrary byte data. It differs from Base64 by removing efficiently misread characters (i.e. l, I, 0, and O) to improve human readability.AXLU7qR becomesThm58
To Base62is a notation for encoding arbitrary byte data using a restricted set of symbols that humans can conveniently use and process by computers. The high number base results in shorter strings than with the decimal or hexadecimal systemThm62 becomes6NiRkOY

The Recipe Area#

This is considered as the heart of the tool. In this area, you can seamlessly select, arrange, and fine-tune operations to suit your needs. This is where you take control, defining each operation’s arguments and options precisely and purposefully. The recipe area is a designated space to select and arrange specific operations and then define their respective arguments and options to customize their behaviour further. In the recipe area, you can drag the operations you want to use and specify arguments and options.
Features include the following:

  • Save recipe: This feature allows the user to save selected operations.
  • Load recipe: Allows the user to load previously saved recipes.
  • Clear Recipe: This feature will enable users to clear the chosen recipe during usage.
  • BAKE!:This button is used to processes the data with the given recipe.
    Additionally, you can tick the Auto Bake checkbox. This feature allows users to automatically cook using the selected recipe without manually clicking BAKE! every time.

Input Area#

The input area provides a user-friendly space where you can easily input text or files by pasting, typing, or dragging them to perform operations.
Additionally, it has the following features:

  • Add a new input tab: This is where an additional tab is created for the user to use different values from the previous tab.
  • Open folder as input: This feature allows users to upload a whole folder as input value.
  • Open file as input: This feature allows the user to upload a file as its input value.
  • Clear input and output: This feature allows the user to clear any input values inserted and the corresponding output value.
  • Reset pane layout: This feature brings the tool’s interface to its default window sizes.

Output Area#

The output area is a visual space that showcases the data processing results. It neatly presents the outcomes of any manipulations or transformations you have applied to the input data, allowing for a clear and intuitive display of the processed information.
Features include:

  • Save output to file: This feature allows the users to save the result into a .dat file.
  • Copy raw output to the clipboard: This feature allows users to copy raw output directly to their clipboard, allowing them to quickly copy the results for use in other applications or documents.
  • Replace input with output: This feature allows users to quickly overwrite the input data based on the operations’ results.
  • Maximise output pane: This feature brings the tool’s interface to its default window sizes.
Cyberchef
https://nahil.xyz/vault/tools/cyberchef/
AuthorNahil Rasheed
Published atJune 19, 2026
CopyrightCC BY 4.0
DisclaimerThis content is provided strictly for educational purposes only.