Issuing the order, Justice Jawwad Khawaja said since the government is involved in the war against militants, it is important that people should know about the banned groups in the country.
"The people should know before giving donations whether that group is banned or not," he said.
The apex court gave the directions to the government during the hearing of a petition on the errors and mistakes in law books which create confusions.
After the court's order, the attorney general said that he will inform the court when the government would make the names of banned groups public.
The judge also asked the government to ensure publishing of error-free legal books.