How to edit the online store URL in web?

Please follow the steps mentioned below to change the online store URL:

Step 1: Go to Online store >> Click on dropdown arrow >> Online store settings

Step 2: Store URL >> Change the URL according to the requirements

Note: Store URL must have alphanumeric characters and “_” only. Any spaces or special characters can’t be added.