Your iPhone stores a lot of data about the things you do. Usually, this data store is used to make things easier, like tracking websites you've visited or looking for missed calls. If you're worried that other people will see something they shouldn't be seeing, you can clear the history of various services on your iPhone or delete them all at once.
Step
Method 1 of 7: Safari Browsing History

Step 1. Open Settings
You can clear your browsing history from Settings, not from the Safari app. While you can delete your browsing history in Safari, this will not delete any autofill information or cookies. Deleting your history via Settings will ensure that everything will be deleted.

Step 2. Scroll down and tap on Safari
You can find them in the fifth group of options.

Step 3. Scroll down on the Safari menu and tap on Clear History and Website Data
A window will appear asking you to confirm.
If this button is grayed out, you should disable website restrictions. Return to the Settings menu and select Restrictions. Enter your restriction passcode, then tap Websites. Select All Websites to be able to delete history. If you don't have the restriction passcode, you can't delete the history

Step 4. Confirm that you want to clear the history
Your browsing history, cache, recharge, and Safari cookies will be deleted. Your browsing history will also be deleted on any other devices that are registered with your iCloud account.
Method 2 of 7: Chrome Browsing History

Step 1. Open the Chrome app
If you use Chrome on your iPhone, you can clear your browsing history from the Chrome app itself.

Step 2. Tap the Menu button (⋮) and select Settings
You may have to scroll down to find it.

Step 3. Tap on Privacy
A new menu will appear with various reset options.

Step 4. Tap Clear Browsing History to clear your history
You will be asked to confirm that you want to delete it.

Step 5. Tap Clear All to clear all your browsing data
This will delete history, cache (cache), site data, and cookies.

Step 6. Tap Clear Saved Autofill Form Data to clear autofill information
This will remove the suggestions that appear when you select a text field.
Method 3 of 7: Phone History

Step 1. Open Phone
You can delete your call or phone history so that no calls appear in the recents list.

Step 2. Tap the Recents tab
This will display a list of the most recent calls you made and received.

Step 3. Tap Edit in the top left corner
A red minus sign will appear next to the call in the log.

Step 4. Tap that red minus sign to delete a single entry
Tapping the minus sign next to an entry will delete that entry.

Step 5. Tap Clear to delete all entries at once
If you want to clear the entire list, tap Clear in the top-left corner. This button only appears after you tap Edit. All entries in the Recents tab will be deleted.
Method 4 of 7: Message History

Step 1. Open Messages
You can delete a text message conversation using Messages.

Step 2. Tap the Edit button
This button can be found in the top left corner.

Step 3. Select all the conversations you want to delete
Check the box for each conversation you want to delete. You can select multiple conversations.

Step 4. Tap Delete after selecting the conversation
All selected conversations will be deleted without confirmation.

Step 5. Change your message history settings
By default, Messages will save all your messages forever. You can change this setting to only keep messages for a year or 30 days, which can free up space and cut down on unnecessary things:
- Open Settings.
- Select Messages.
- Tap Keep Messages.
- Select the time period for which you want to save the message. This will automatically delete the older messages from the new settings.
Method 5 of 7: Keyboard History

Step 1. Open Settings
If you want to remove words added to your iPhone's autocorrect dictionary, you can do so from Settings.

Step 2. Select General
A list of your iPhone's general options will open.

Step 3. Scroll down and tap Reset
Various reset options will appear.

Step 4. Tap Reset Keyboard Dictionary
You will be asked to confirm. All the special words that you have saved will be deleted.
Method 6 of 7: Google Search App

Step 1. Open the Google app
If you use the Google app to search Google, you can clear your search history through the app.

Step 2. Tap the gear-shaped button in the top left corner
This button will open the Settings menu.

Step 3. Scroll down and tap on Privacy
You will see your active account.

Step 4. Tap on Browsing option
The History section will appear at the top of the screen.

Step 5. Tap Clear on-device history to clear your search history
Note that this will only clear the search history for your app. Your searches will still be saved in your active Google account.
Method 7 of 7: Erase All Data

Step 1. Use this option if you want to completely wipe the data on your iPhone
This step will delete all history and data on the iPhone, and you will be prompted to reset everything as new when this process is complete.

Step 2. Open Settings
If you are sure you want to delete all data on your iPhone, go to Settings.

Step 3. Select General
Your iPhone's general settings will open.

Step 4. Scroll down and tap Reset
The option to reset your device will appear.

Step 5. Tap Erase All Content and Settings
You will be asked to confirm that you want to completely erase all data.

Step 6. Wait until your iPhone has been reset
This process may take a while to complete.

Step 7. Update your iPhone settings
Once the reset is complete, you will be redirected to the original settings. You can set up your iPhone like new or restore an iTunes or iCloud backup.