This is simply a flowchart that I made of all the endings in the stanley parable.
Bold text indicates an ending, highlighted text indicates the freedom ending, rainbow text indicates a requirement for heaven (cycles through red, yellow, green, blue, purple depending on restart), italic text indicates an achievement, underlined text means you can do it anytime in the game, and in plain white text means you also can do it even if you aren't playing.
Start in room 427 then:
- Enable developer console and type in sv_cheats 1.
- Press space several times.
- Enable achievements in settings.
- Close the door for coward ending.
- Activate input on your computer.
- You will be teleported to heaven ending.
- Leave your room.
- If the office is bluish, go through 426 for whiteboard ending.
- Click on door 430 five times and follow the directions you are instructed.
- Sneak onto 434's desk and go through the window.
- Press Yes.
- Press No and restart.
- Activate input on 419.
- Activate input on 423.
- Activate input on 434.
- Go to a room with 2 doors.
- Go through left door.
- Enter the broom closet.
- Go to the staircase.
- Go downstairs and follow loop for insane ending.
- Go upstairs.
- Activate input on secretary's computer.
- Go to boss's office.
- Press 8 8 times on the pin pad.
- Enter 2845 and go through the open passageway.
- Go to the mind control facility.
- Press every button.
- Get in the elevator.
- Press OFF.
- Do it under 4 minutes 22 seconds.
- Press ON for countdown ending.
- Press OFF.
- Wait a minute for the doors to reopen for secret disco.
- Get in the elevator.
- Press every button.
- Ignore the Narrator and follow the escape path.
- Go to the mind control facility.
- Exit boss's office with the doors being closed, then backtrack and follow the directions for the escape pod.
- Open a secret door to the elevator room if you done freedom ending enough times repeatedly.
- Go through the right door.
- After the employee lounge, go through the left door to the maintenance.
- Continue back to what you would have gotten via the left door.
- Go down the elevator for the confusion ending.
- Go into the warehouse.
- Jump off for powerful ending.
- Get off the cargo lift back to the ledge for cold feet ending.
- Jump to catwalk.
- Go through red door.
- Repeatedly jump off the stairs for zending.
- Alternatively be a real man and stay in the starry dome.
- Go through blue door.
- Back at the 2 doors room, go through any door and rate anything.
- Same thing, though leaderboard is shown.
- Play baby game for 4 hours for art ending.
- Let the baby go to the fire for games ending.
- Same thing, though leaderboard is shown.
- Back at the 2 doors room, go through any door and rate anything.
- Go through red door.
- Successfully ride it to phone room.
- Answer the phone for apartment ending.
- Unplug phone for not stanley ending.
- After the employee lounge, go through the left door to the maintenance.
- Go through left door.