If your .7z file contains a game or system file, the .bin is likely just compressed inside it.
In some cases (like specific gaming emulators or firmware updates), a file is just a renamed archive or raw file.
Choose the method based on your source data:
Below is an overview of why this "conversion" is sought and the steps to achieve it. Understanding the Formats
Below are the only meaningful scenarios in which users ask this.