The Vienna Convention on the Law of Treaties 1969, art 2(1a) defines a treaty as "an international agreement concluded between States in written form and governed by international law, whether embodied in a single instrument or in two or more related instruments and whatever its particular designation...".
Flare Index to Treaties is an excellent search tool for finding multilateral and selected bilateral treaties. It contains details of treaties from 1353 onwards, with links to full text where available.
"Every treaty and every international agreement entered into by any Member of the United Nations...shall as soon as possible be registered with the Secretariat and published by it" (Charter of the United Nations, art 102(1)).
For other jurisdictions, see WorldLII 'Treaties and International Agreements by Country'.