Safety and help in Tangier
Find the Indian embassy or consulate for Morocco.
Indian missions abroadAsk for consular help online from the Ministry of External Affairs.
Open MADADWhat travellers advise
Generally, central Tangier is a very safe city compared with many places in Europe though this does not necessarily apply to the suburbs. The only trouble you may encounter are the persistent touts whom you should ignore, or the con-men ready to fleece you (by trying to chat up to you then sometimes offer to smoke hashish), and you will encounter these almost exclusively in the medina. There are policemen everywhere and you will probably feel safer than at home. Tangier is generally safe for lone women.
Dressing like a local will help you blend in and get good reception from merchants, who will often quote you actual prices instead of inflated tourist prices. There are lots of expats in this city that speak Spanish first, then English and then French. A polite no thank you and then simply ignoring touts does get rid of them.
Source: Wikivoyage, Tangier, written by volunteers (CC BY-SA 4.0), not a government source. Prices and timings may be old; confirm before you travel.