This article explains how to enable Responsive Design mode in Safari 9 through Safari 13, and in OS X El Capitan through macOS Catalina.
Safari Development Tools – Responsive Design Mode
To enable Safari Responsive Design Mode, along with other Safari developer tools, do the following:
Go to the Safari menu and select Preferences.
In the Preferences dialog box, select the Advanced tab.